Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 109.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7418, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04412/0.7859, allocations: 35.71 MB / 1.304 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.8046, allocations: 10.05 MB / 1.313 GB, free: 7.234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.8078, allocations: 147.2 kB / 1.314 GB, free: 7.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.8184, allocations: 3.87 MB / 1.317 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006186/0.8246, allocations: 2.146 MB / 1.319 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00509/0.8297, allocations: 1.965 MB / 1.321 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.8397, allocations: 7.959 MB / 1.329 GB, free: 7.109 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00975/0.8494, allocations: 7.129 MB / 1.336 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005805/0.8552, allocations: 3.427 MB / 1.339 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006662/0.8619, allocations: 3.933 MB / 1.343 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.8639, allocations: 0.6797 MB / 1.344 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.8684, allocations: 1.471 MB / 1.345 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003975/0.8723, allocations: 2.677 MB / 1.348 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004841/0.8772, allocations: 3.104 MB / 1.351 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.8916, allocations: 10.41 MB / 1.361 GB, free: 6.078 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.448e-05/0.8917, allocations: 4 kB / 1.361 GB, free: 6.074 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8917, allocations: 0 / 1.361 GB, free: 6.074 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003713/0.892, allocations: 4 kB / 1.361 GB, free: 6.07 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01348/0.9055, allocations: 5.534 MB / 1.367 GB, free: 468 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9055, allocations: 12.03 kB / 1.367 GB, free: 456 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/0.9068, allocations: 0.6945 MB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004911/0.9117, allocations: 0.9929 MB / 1.368 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008273/0.92, allocations: 3.196 MB / 1.371 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.9203, allocations: 357.9 kB / 1.372 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.9217, allocations: 464.3 kB / 1.372 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.9358, allocations: 7.91 MB / 1.38 GB, free: 2.418 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.9359, allocations: 23.81 kB / 1.38 GB, free: 2.395 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/0.9365, allocations: 216 kB / 1.38 GB, free: 2.184 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000579/0.937, allocations: 369.1 kB / 1.381 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.9485, allocations: 5.937 MB / 1.386 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04157/0.9901, allocations: 36 MB / 1.421 GB, free: 4.633 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.9935, allocations: 1.998 MB / 1.423 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.9954, allocations: 1.333 MB / 1.425 GB, free: 1.289 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/0.9955, allocations: 21.25 kB / 1.425 GB, free: 1.27 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.9955, allocations: 63.8 kB / 1.425 GB, free: 1.199 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/0.9955, allocations: 0 / 1.425 GB, free: 1.199 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01356/1.009, allocations: 7.567 MB / 1.432 GB, free: 9.367 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.009, allocations: 72.72 kB / 1.432 GB, free: 9.285 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.012, allocations: 1.86 MB / 1.434 GB, free: 7.398 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/1.012, allocations: 53.7 kB / 1.434 GB, free: 7.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.014, allocations: 2.184 MB / 1.436 GB, free: 5.137 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005565/1.014, allocations: 0.5888 MB / 1.437 GB, free: 4.543 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/1.015, allocations: 403.9 kB / 1.437 GB, free: 4.141 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.015, allocations: 301.1 kB / 1.438 GB, free: 3.844 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/1.017, allocations: 1.07 MB / 1.439 GB, free: 2.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/1.019, allocations: 1.76 MB / 1.44 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/1.023, allocations: 3.049 MB / 1.443 GB, free: 13.32 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/1.023, allocations: 8 kB / 1.443 GB, free: 13.31 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006837/1.03, allocations: 3.907 MB / 1.447 GB, free: 9.359 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/1.03, allocations: 12 kB / 1.447 GB, free: 9.348 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/1.03, allocations: 24 kB / 1.447 GB, free: 9.324 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002666/1.033, allocations: 0.9311 MB / 1.448 GB, free: 8.359 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.034, allocations: 427.3 kB / 1.448 GB, free: 7.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/1.058, allocations: 22.77 MB / 1.471 GB, free: 15.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.06, allocations: 127.9 kB / 1.471 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/1.061, allocations: 92 kB / 1.471 GB, free: 15.27 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003/1.064, allocations: 1.652 MB / 1.472 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/1.064, allocations: 270.3 kB / 1.473 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/1.07, allocations: 3.232 MB / 1.476 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.07, allocations: 16 kB / 1.476 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.07, allocations: 8 kB / 1.476 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.07, allocations: 11.91 kB / 1.476 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.083, allocations: 7.525 MB / 1.483 GB, free: 2.344 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.083, allocations: 4 kB / 1.483 GB, free: 2.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/1.084, allocations: 220.2 kB / 1.483 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/1.086, allocations: 0.8921 MB / 1.484 GB, free: 1.195 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.086, allocations: 32 kB / 1.484 GB, free: 1.164 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02362/1.11, allocations: 22.75 MB / 1.507 GB, free: 8.734 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.11, allocations: 8 kB / 1.507 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006019/1.116, allocations: 3.361 MB / 1.51 GB, free: 5.254 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.117, allocations: 0.5462 MB / 1.51 GB, free: 4.688 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/1.117, allocations: 31.94 kB / 1.51 GB, free: 4.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/1.118, allocations: 92.08 kB / 1.511 GB, free: 4.566 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/1.119, allocations: 148.9 kB / 1.511 GB, free: 4.422 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.119, allocations: 44 kB / 1.511 GB, free: 4.379 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001822/1.121, allocations: 1.225 MB / 1.512 GB, free: 3.141 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.121, allocations: 0 / 1.512 GB, free: 3.141 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002651/1.124, allocations: 0.9102 MB / 1.513 GB, free: 2.23 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.00607/1.13, allocations: 3.965 MB / 1.517 GB, free: 14.14 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007183/1.137, allocations: 4.296 MB / 1.521 GB, free: 9.695 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.137, allocations: 8.062 kB / 1.521 GB, free: 9.688 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004623/1.141, allocations: 2.894 MB / 1.524 GB, free: 6.637 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/1.145, allocations: 0.8271 MB / 1.525 GB, free: 5.828 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03989/1.185, allocations: 25.15 MB / 1.549 GB, free: 11.57 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/1.189, allocations: 3.209 MB / 1.552 GB, free: 8.332 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001735/1.19, allocations: 0.5293 MB / 1.553 GB, free: 7.797 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.192, allocations: 1.647 MB / 1.554 GB, free: 6.148 MB / 1.264 GB Notification: Performance of SimCode: time 1.112e-06/1.192, allocations: 0 / 1.554 GB, free: 6.148 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.836/2.028, allocations: 70.73 MB / 1.623 GB, free: 316.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/16.41, allocations: 3.938 kB / 1.623 GB, free: 316.9 MB / 1.311 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.865175663959235]