Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 217.9 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.148/3.148, allocations: 0.5003 GB / 0.8061 GB, free: 26.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 61.08 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3781, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04409/0.4222, allocations: 34.28 MB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.4419, allocations: 10.69 MB / 1.389 GB, free: 3.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.4452, allocations: 194.6 kB / 1.389 GB, free: 3.156 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.4563, allocations: 3.889 MB / 1.393 GB, free: 15.26 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006702/0.463, allocations: 1.944 MB / 1.395 GB, free: 13.3 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006866/0.4699, allocations: 2.217 MB / 1.397 GB, free: 11.09 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01179/0.4817, allocations: 7.319 MB / 1.404 GB, free: 3.746 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009547/0.4912, allocations: 5.158 MB / 1.409 GB, free: 14.47 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/0.4981, allocations: 3.268 MB / 1.413 GB, free: 11.19 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007677/0.5057, allocations: 3.68 MB / 1.416 GB, free: 7.5 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002333/0.5081, allocations: 0.6445 MB / 1.417 GB, free: 6.855 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005084/0.5132, allocations: 1.806 MB / 1.419 GB, free: 5.047 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004171/0.5173, allocations: 2.611 MB / 1.421 GB, free: 2.43 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006463/0.5238, allocations: 2.898 MB / 1.424 GB, free: 15.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.5393, allocations: 10.14 MB / 1.434 GB, free: 5.352 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5393, allocations: 0 / 1.434 GB, free: 5.352 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5393, allocations: 0 / 1.434 GB, free: 5.352 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003379/0.5396, allocations: 3.938 kB / 1.434 GB, free: 5.348 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0146/0.5542, allocations: 5.056 MB / 1.439 GB, free: 236 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.5543, allocations: 12.03 kB / 1.439 GB, free: 224 kB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001575/0.5544, allocations: 121.5 kB / 1.439 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002027/0.5565, allocations: 0.6781 MB / 1.44 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0065/0.563, allocations: 0.9852 MB / 1.441 GB, free: 14.42 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007901/0.5709, allocations: 2.995 MB / 1.444 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.5712, allocations: 345.7 kB / 1.444 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/0.5738, allocations: 464.3 kB / 1.444 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.5954, allocations: 7.67 MB / 1.452 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/0.5957, allocations: 27.81 kB / 1.452 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/0.5971, allocations: 200 kB / 1.452 GB, free: 2.324 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004666/0.5976, allocations: 313 kB / 1.452 GB, free: 2.016 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.6105, allocations: 5.71 MB / 1.458 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/0.6583, allocations: 34.57 MB / 1.492 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.6614, allocations: 1.552 MB / 1.493 GB, free: 4.941 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.6633, allocations: 1.124 MB / 1.494 GB, free: 3.812 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.6634, allocations: 17.31 kB / 1.494 GB, free: 3.793 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.6634, allocations: 47.81 kB / 1.494 GB, free: 3.738 MB / 1.186 GB Notification: Performance of pre-optimization done (n=133): time 3.497e-06/0.6634, allocations: 0 / 1.494 GB, free: 3.738 MB / 1.186 GB Notification: Performance of matching and sorting (n=136): time 0.01557/0.679, allocations: 6.211 MB / 1.5 GB, free: 13.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.6791, allocations: 64.72 kB / 1.5 GB, free: 13.4 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.6818, allocations: 1.484 MB / 1.502 GB, free: 11.87 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.682, allocations: 49.7 kB / 1.502 GB, free: 11.82 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/0.6837, allocations: 2.065 MB / 1.504 GB, free: 9.734 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006639/0.6844, allocations: 0.5074 MB / 1.504 GB, free: 9.223 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007291/0.6851, allocations: 351.3 kB / 1.505 GB, free: 8.875 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6852, allocations: 301.1 kB / 1.505 GB, free: 8.578 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.6868, allocations: 0.9135 MB / 1.506 GB, free: 7.664 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.6889, allocations: 1.597 MB / 1.508 GB, free: 5.758 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.6929, allocations: 2.729 MB / 1.51 GB, free: 2.715 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/0.6929, allocations: 12 kB / 1.51 GB, free: 2.703 MB / 1.201 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007107/0.7, allocations: 3.508 MB / 1.514 GB, free: 15.15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.7001, allocations: 19.94 kB / 1.514 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/0.7001, allocations: 20 kB / 1.514 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/0.703, allocations: 0.9199 MB / 1.515 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.7044, allocations: 343.4 kB / 1.515 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/0.7298, allocations: 21.9 MB / 1.536 GB, free: 6.551 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.7316, allocations: 103.9 kB / 1.536 GB, free: 6.449 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.7318, allocations: 84 kB / 1.536 GB, free: 6.367 MB / 1.232 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002952/0.7347, allocations: 1.606 MB / 1.538 GB, free: 4.75 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.7352, allocations: 218.6 kB / 1.538 GB, free: 4.535 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005747/0.741, allocations: 2.959 MB / 1.541 GB, free: 1.527 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.741, allocations: 20 kB / 1.541 GB, free: 1.508 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.741, allocations: 8 kB / 1.541 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.7411, allocations: 3.984 kB / 1.541 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.7548, allocations: 7.301 MB / 1.548 GB, free: 9.969 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.7548, allocations: 4 kB / 1.548 GB, free: 9.965 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.7556, allocations: 171.7 kB / 1.548 GB, free: 9.797 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.7581, allocations: 0.8298 MB / 1.549 GB, free: 8.93 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.7582, allocations: 24 kB / 1.549 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/0.7805, allocations: 20.72 MB / 1.57 GB, free: 2.805 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.7805, allocations: 4.234 kB / 1.57 GB, free: 2.801 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005809/0.7863, allocations: 3.014 MB / 1.573 GB, free: 15.67 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.7876, allocations: 394.5 kB / 1.573 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.7879, allocations: 31.94 kB / 1.573 GB, free: 15.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.7887, allocations: 71.91 kB / 1.573 GB, free: 15.18 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/0.7892, allocations: 136.6 kB / 1.573 GB, free: 15.05 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-05/0.7893, allocations: 36 kB / 1.573 GB, free: 15.01 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001544/0.7908, allocations: 0.9756 MB / 1.574 GB, free: 14.01 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7908, allocations: 0 / 1.574 GB, free: 14.01 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003199/0.794, allocations: 0.7852 MB / 1.575 GB, free: 13.23 MB / 1.279 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006097/0.8001, allocations: 3.608 MB / 1.578 GB, free: 9.504 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006849/0.8069, allocations: 3.921 MB / 1.582 GB, free: 5.426 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.807, allocations: 5 kB / 1.582 GB, free: 5.422 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00422/0.8112, allocations: 2.662 MB / 1.585 GB, free: 2.602 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/0.8147, allocations: 0.7302 MB / 1.586 GB, free: 1.891 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7186/1.533, allocations: 22.52 MB / 1.608 GB, free: 236.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004311/1.538, allocations: 3.112 MB / 1.611 GB, free: 235.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001466/1.539, allocations: 460 kB / 1.611 GB, free: 235.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.541, allocations: 1.537 MB / 1.613 GB, free: 235.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.744e-06/1.541, allocations: 0 / 1.613 GB, free: 235.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/1.674, allocations: 63.5 MB / 1.675 GB, free: 201.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.46, allocations: 0 / 1.675 GB, free: 201.6 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.185107222001534]