Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 193.7 kB / 16.13 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5662, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007236/0.5735, allocations: 6.801 MB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.5776, allocations: 3.075 MB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.578, allocations: 27.81 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.58, allocations: 0.8952 MB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009159/0.5809, allocations: 485.7 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.5817, allocations: 403.2 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.583, allocations: 1.595 MB / 1.03 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.5838, allocations: 0.6465 MB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004089/0.5842, allocations: 414.3 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.5847, allocations: 0.5292 MB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.5848, allocations: 48 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.5854, allocations: 455 kB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.5856, allocations: 291.2 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.586, allocations: 429.7 kB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009882/0.587, allocations: 1.211 MB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.587, allocations: 0 / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.587, allocations: 4 kB / 1.034 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.587, allocations: 3.938 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001598/0.5886, allocations: 1.157 MB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5887, allocations: 11.97 kB / 1.035 GB, free: 288 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.5888, allocations: 118.7 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.5902, allocations: 231.6 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.5909, allocations: 0.5608 MB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.5909, allocations: 45.67 kB / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/0.591, allocations: 76.27 kB / 1.036 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5923, allocations: 1.081 MB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.5924, allocations: 11.92 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.5924, allocations: 31.98 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.5926, allocations: 89.19 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.5936, allocations: 0.7543 MB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.5982, allocations: 5.897 MB / 1.043 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.5991, allocations: 0.5516 MB / 1.044 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.5996, allocations: 322 kB / 1.044 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.5996, allocations: 8.438 kB / 1.044 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.5996, allocations: 42.98 kB / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/0.5997, allocations: 0 / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.00344/0.6031, allocations: 1.978 MB / 1.046 GB, free: 3.789 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.6032, allocations: 63.84 kB / 1.046 GB, free: 3.715 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.6037, allocations: 0.5664 MB / 1.047 GB, free: 3.141 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.6038, allocations: 33.7 kB / 1.047 GB, free: 3.102 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.604, allocations: 418.9 kB / 1.047 GB, free: 2.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.6041, allocations: 173.6 kB / 1.047 GB, free: 2.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.6043, allocations: 126.5 kB / 1.048 GB, free: 2.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6045, allocations: 374.7 kB / 1.048 GB, free: 2.012 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.6048, allocations: 277.8 kB / 1.048 GB, free: 1.738 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.6054, allocations: 0.4897 MB / 1.049 GB, free: 1.152 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.6063, allocations: 0.8054 MB / 1.049 GB, free: 260 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.6063, allocations: 8 kB / 1.049 GB, free: 252 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001667/0.608, allocations: 1.079 MB / 1.051 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.608, allocations: 10.44 kB / 1.051 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.608, allocations: 4 kB / 1.051 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007895/0.6088, allocations: 283.2 kB / 1.051 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.6093, allocations: 127.7 kB / 1.051 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.6149, allocations: 6.603 MB / 1.057 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.6154, allocations: 43.91 kB / 1.057 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.6154, allocations: 24 kB / 1.057 GB, free: 7.516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.6158, allocations: 261.5 kB / 1.058 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.6159, allocations: 71.22 kB / 1.058 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.6173, allocations: 0.8886 MB / 1.059 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6174, allocations: 4 kB / 1.059 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.6174, allocations: 7.938 kB / 1.059 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6174, allocations: 0 / 1.059 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.6198, allocations: 1.721 MB / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6198, allocations: 0 / 1.06 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.6201, allocations: 67.83 kB / 1.06 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007105/0.6208, allocations: 271.3 kB / 1.061 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.6208, allocations: 12 kB / 1.061 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/0.626, allocations: 6.583 MB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.6261, allocations: 4 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.6274, allocations: 0.9913 MB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.6277, allocations: 188.2 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.6277, allocations: 19.88 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.6281, allocations: 31.95 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.6282, allocations: 35.95 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.6282, allocations: 16 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003717/0.6286, allocations: 391.1 kB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6286, allocations: 7.938 kB / 1.069 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000683/0.6293, allocations: 224 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001562/0.6308, allocations: 1.548 MB / 1.07 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.6325, allocations: 1.264 MB / 1.072 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6325, allocations: 0 / 1.072 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6336, allocations: 0.8855 MB / 1.073 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009013/0.6345, allocations: 214.5 kB / 1.073 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/0.6421, allocations: 6.845 MB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.6426, allocations: 1.013 MB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003657/0.643, allocations: 126 kB / 1.081 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.6432, allocations: 251.4 kB / 1.081 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.6432, allocations: 4 kB / 1.081 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.529/1.172, allocations: 16.71 MB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/1.173, allocations: 242.6 kB / 1.097 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.505, allocations: 0 / 1.097 GB, free: 13.72 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches