Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001224/0.001224, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001393/0.001393, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.365/1.365, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.055/3.055, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 177] 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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001978/0.001978, allocations: 69.36 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3453, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04172/0.3871, allocations: 33.64 MB / 1.378 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.4055, allocations: 10 MB / 1.388 GB, free: 4.188 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.4088, allocations: 190.6 kB / 1.388 GB, free: 4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009916/0.4188, allocations: 3.817 MB / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005979/0.4247, allocations: 2.15 MB / 1.394 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.4297, allocations: 1.966 MB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.44, allocations: 7.96 MB / 1.404 GB, free: 4.062 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007983/0.448, allocations: 5.28 MB / 1.409 GB, free: 14.66 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005805/0.4538, allocations: 3.501 MB / 1.412 GB, free: 11.15 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006842/0.4606, allocations: 3.945 MB / 1.416 GB, free: 7.195 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001542/0.4621, allocations: 0.6797 MB / 1.417 GB, free: 6.516 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.4655, allocations: 1.354 MB / 1.418 GB, free: 5.16 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003417/0.4689, allocations: 2.681 MB / 1.421 GB, free: 2.473 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00438/0.4733, allocations: 2.518 MB / 1.423 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.486, allocations: 10.46 MB / 1.433 GB, free: 5.449 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.486, allocations: 0 / 1.433 GB, free: 5.449 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4861, allocations: 0 / 1.433 GB, free: 5.449 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003104/0.4864, allocations: 4 kB / 1.433 GB, free: 5.445 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01241/0.4988, allocations: 5.46 MB / 1.439 GB, free: 15.92 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4988, allocations: 12.03 kB / 1.439 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000138/0.499, allocations: 125.8 kB / 1.439 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001092/0.5001, allocations: 0.7023 MB / 1.439 GB, free: 15.08 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0046/0.5047, allocations: 0.985 MB / 1.44 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006237/0.5109, allocations: 3.136 MB / 1.443 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.5112, allocations: 357.9 kB / 1.444 GB, free: 10.54 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009923/0.5122, allocations: 468.3 kB / 1.444 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.527, allocations: 8.67 MB / 1.453 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.5271, allocations: 19.88 kB / 1.453 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005164/0.5276, allocations: 208 kB / 1.453 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005243/0.5281, allocations: 369 kB / 1.453 GB, free: 284 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.5385, allocations: 5.933 MB / 1.459 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03125/0.5698, allocations: 23.74 MB / 1.482 GB, free: 1.902 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.5729, allocations: 1.999 MB / 1.484 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.5747, allocations: 1.337 MB / 1.486 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.701e-05/0.5748, allocations: 21.25 kB / 1.486 GB, free: 14.53 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.5748, allocations: 55.88 kB / 1.486 GB, free: 14.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=157): time 3.727e-06/0.5748, allocations: 0 / 1.486 GB, free: 14.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=160): time 0.01306/0.5879, allocations: 6.667 MB / 1.492 GB, free: 7.75 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.588, allocations: 68.72 kB / 1.492 GB, free: 7.672 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.5905, allocations: 1.864 MB / 1.494 GB, free: 5.781 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.5906, allocations: 53.7 kB / 1.494 GB, free: 5.723 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.5922, allocations: 2.188 MB / 1.496 GB, free: 3.516 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.5928, allocations: 0.581 MB / 1.497 GB, free: 2.93 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.5934, allocations: 404 kB / 1.497 GB, free: 2.527 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.5936, allocations: 309.1 kB / 1.497 GB, free: 2.223 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.5951, allocations: 1.066 MB / 1.499 GB, free: 1.152 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.5973, allocations: 1.76 MB / 1.5 GB, free: 15.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.6011, allocations: 3.045 MB / 1.503 GB, free: 11.72 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.6011, allocations: 11.94 kB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006404/0.6075, allocations: 3.903 MB / 1.507 GB, free: 7.758 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.6076, allocations: 16 kB / 1.507 GB, free: 7.742 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.6076, allocations: 20 kB / 1.507 GB, free: 7.723 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.61, allocations: 0.9313 MB / 1.508 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6115, allocations: 431.2 kB / 1.508 GB, free: 6.332 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/0.6325, allocations: 21.39 MB / 1.529 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.6345, allocations: 119.9 kB / 1.529 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.6347, allocations: 103.9 kB / 1.529 GB, free: 15.36 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 (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.002719/0.6374, allocations: 1.645 MB / 1.531 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.6378, allocations: 270.4 kB / 1.531 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/0.6431, allocations: 3.232 MB / 1.534 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.6431, allocations: 16 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6431, allocations: 8 kB / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.6432, allocations: 7.969 kB / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6546, allocations: 7.162 MB / 1.542 GB, free: 2.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.6546, allocations: 8 kB / 1.542 GB, free: 2.801 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.6555, allocations: 211.6 kB / 1.542 GB, free: 2.594 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.6578, allocations: 0.9008 MB / 1.543 GB, free: 1.656 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.658, allocations: 32 kB / 1.543 GB, free: 1.625 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/0.679, allocations: 21.34 MB / 1.563 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.679, allocations: 7.938 kB / 1.563 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/0.6847, allocations: 3.365 MB / 1.567 GB, free: 7.414 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.6859, allocations: 474.2 kB / 1.567 GB, free: 6.949 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/0.6861, allocations: 39.88 kB / 1.567 GB, free: 6.91 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009748/0.6871, allocations: 95.88 kB / 1.567 GB, free: 6.816 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/0.6875, allocations: 148.9 kB / 1.567 GB, free: 6.668 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.6876, allocations: 51.94 kB / 1.568 GB, free: 6.617 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001743/0.6894, allocations: 1.221 MB / 1.569 GB, free: 5.383 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6894, allocations: 0 / 1.569 GB, free: 5.383 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002723/0.6921, allocations: 0.9023 MB / 1.57 GB, free: 4.48 MB / 1.264 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.00556/0.6977, allocations: 3.971 MB / 1.574 GB, free: 396 kB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006507/0.7042, allocations: 4.283 MB / 1.578 GB, free: 11.96 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.7042, allocations: 4 kB / 1.578 GB, free: 11.95 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004203/0.7084, allocations: 2.914 MB / 1.581 GB, free: 8.883 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.7118, allocations: 0.8369 MB / 1.581 GB, free: 8.062 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7327/1.444, allocations: 25.22 MB / 1.606 GB, free: 236.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004933/1.449, allocations: 2.665 MB / 1.609 GB, free: 236.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002009/1.451, allocations: 0.531 MB / 1.609 GB, free: 236.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.453, allocations: 1.651 MB / 1.611 GB, free: 236.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.413e-06/1.453, allocations: 0 / 1.611 GB, free: 236.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/1.6, allocations: 75.27 MB / 1.684 GB, free: 191.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.23, allocations: 11.86 kB / 1.684 GB, free: 191.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.695095891016535]