Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001591/0.001591, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.001702/0.001702, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.504/1.504, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 489 MB / 0.7678 GB, free: 36 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 63.91 kB / 1.101 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.765/0.7673, allocations: 163.8 MB / 1.261 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04319/0.8105, allocations: 34.85 MB / 1.295 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.8306, allocations: 11.5 MB / 1.306 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.8337, allocations: 159.2 kB / 1.306 GB, free: 8.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01117/0.8449, allocations: 4.24 MB / 1.311 GB, free: 4.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.852, allocations: 1.994 MB / 1.313 GB, free: 2.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.8587, allocations: 2.412 MB / 1.315 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.8702, allocations: 8.456 MB / 1.323 GB, free: 7.344 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.8868, allocations: 11.14 MB / 1.334 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/0.8929, allocations: 3.739 MB / 1.338 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00711/0.9, allocations: 4.194 MB / 1.342 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002415/0.9024, allocations: 0.7773 MB / 1.343 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00541/0.9079, allocations: 2.024 MB / 1.345 GB, free: 1.332 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005395/0.9133, allocations: 3.053 MB / 1.348 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007024/0.9203, allocations: 3.412 MB / 1.351 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01692/0.9373, allocations: 12.01 MB / 1.363 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9373, allocations: 4 kB / 1.363 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9373, allocations: 0 / 1.363 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002714/0.9376, allocations: 0 / 1.363 GB, free: 14.8 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01369/0.9513, allocations: 5.935 MB / 1.368 GB, free: 8.785 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.9514, allocations: 12.03 kB / 1.368 GB, free: 8.773 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001379/0.9528, allocations: 0.8089 MB / 1.369 GB, free: 7.953 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005936/0.9587, allocations: 1.094 MB / 1.37 GB, free: 6.855 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006718/0.9654, allocations: 3.459 MB / 1.374 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/0.9658, allocations: 415.5 kB / 1.374 GB, free: 2.934 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.9672, allocations: 0.5354 MB / 1.375 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.9856, allocations: 9.087 MB / 1.383 GB, free: 8.992 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002458/0.9859, allocations: 27.81 kB / 1.383 GB, free: 8.965 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/0.987, allocations: 239.9 kB / 1.384 GB, free: 8.73 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004203/0.9874, allocations: 350.8 kB / 1.384 GB, free: 8.387 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/1.001, allocations: 6.826 MB / 1.391 GB, free: 1.551 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04918/1.05, allocations: 39.86 MB / 1.43 GB, free: 5.98 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/1.055, allocations: 3.111 MB / 1.433 GB, free: 2.727 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/1.058, allocations: 1.982 MB / 1.435 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/1.058, allocations: 18 kB / 1.435 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.058, allocations: 56.56 kB / 1.435 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of pre-optimization done (n=179): time 3.887e-06/1.058, allocations: 0 / 1.435 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of matching and sorting (n=182): time 0.02735/1.086, allocations: 10.04 MB / 1.444 GB, free: 6.531 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/1.086, allocations: 73.41 kB / 1.445 GB, free: 6.445 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/1.088, allocations: 1.526 MB / 1.446 GB, free: 4.875 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.088, allocations: 57.7 kB / 1.446 GB, free: 4.812 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.09, allocations: 2.32 MB / 1.448 GB, free: 2.469 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007349/1.091, allocations: 0.6662 MB / 1.449 GB, free: 1.797 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007405/1.092, allocations: 412.1 kB / 1.449 GB, free: 1.387 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.092, allocations: 305.1 kB / 1.45 GB, free: 1.086 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/1.094, allocations: 1.179 MB / 1.451 GB, free: 15.9 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/1.096, allocations: 1.885 MB / 1.453 GB, free: 13.7 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/1.101, allocations: 3.364 MB / 1.456 GB, free: 10.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.101, allocations: 8 kB / 1.456 GB, free: 10.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008956/1.11, allocations: 4.594 MB / 1.46 GB, free: 5.398 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/1.11, allocations: 16 kB / 1.46 GB, free: 5.383 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/1.11, allocations: 23.98 kB / 1.46 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/1.115, allocations: 1.573 MB / 1.462 GB, free: 3.777 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.116, allocations: 355.3 kB / 1.462 GB, free: 3.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/1.143, allocations: 18.61 MB / 1.481 GB, free: 276 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.145, allocations: 115.9 kB / 1.481 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000375/1.145, allocations: 99.97 kB / 1.481 GB, free: 60 kB / 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003509/1.149, allocations: 1.902 MB / 1.483 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000616/1.149, allocations: 234.5 kB / 1.483 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/1.157, allocations: 4.094 MB / 1.487 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.158, allocations: 20 kB / 1.487 GB, free: 9.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-05/1.158, allocations: 16 kB / 1.487 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/1.158, allocations: 15.89 kB / 1.487 GB, free: 9.738 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/1.176, allocations: 9.457 MB / 1.496 GB, free: 32 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.176, allocations: 4 kB / 1.496 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009054/1.177, allocations: 183.7 kB / 1.496 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/1.18, allocations: 1.353 MB / 1.498 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.181, allocations: 28 kB / 1.498 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02494/1.205, allocations: 17.38 MB / 1.515 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.206, allocations: 8 kB / 1.515 GB, free: 12.51 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007842/1.213, allocations: 4.083 MB / 1.519 GB, free: 8.332 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.215, allocations: 0.5385 MB / 1.519 GB, free: 7.773 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/1.215, allocations: 40.45 kB / 1.519 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.216, allocations: 87.89 kB / 1.519 GB, free: 7.648 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/1.217, allocations: 161.7 kB / 1.519 GB, free: 7.488 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.217, allocations: 48 kB / 1.519 GB, free: 7.441 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001699/1.219, allocations: 1.008 MB / 1.52 GB, free: 6.41 MB / 1.232 GB Notification: Performance of sort global known variables: time 3e-07/1.219, allocations: 0 / 1.52 GB, free: 6.41 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003263/1.222, allocations: 0.9883 MB / 1.521 GB, free: 5.422 MB / 1.232 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007968/1.23, allocations: 4.68 MB / 1.526 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007776/1.238, allocations: 4.303 MB / 1.53 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.238, allocations: 1 kB / 1.53 GB, free: 12.29 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00478/1.243, allocations: 2.684 MB / 1.533 GB, free: 9.555 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.247, allocations: 0.7711 MB / 1.534 GB, free: 8.812 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05022/1.297, allocations: 26.98 MB / 1.56 GB, free: 12.75 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005549/1.302, allocations: 3.577 MB / 1.563 GB, free: 9.137 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001468/1.304, allocations: 459.9 kB / 1.564 GB, free: 8.684 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/1.306, allocations: 1.788 MB / 1.566 GB, free: 6.895 MB / 1.279 GB Notification: Performance of SimCode: time 1.182e-06/1.307, allocations: 0 / 1.566 GB, free: 6.895 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7269/2.033, allocations: 73.93 MB / 1.638 GB, free: 313 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/15.84, allocations: 11.3 kB / 1.638 GB, free: 313 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.554908704012632]