Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001812/0.001812, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002252/0.002252, allocations: 217.9 kB / 22.25 MB, free: 4.855 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",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.002054/0.002054, allocations: 70.33 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 176.1 MB / 1.325 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03991/0.3765, allocations: 31.71 MB / 1.356 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02406/0.4006, allocations: 14.45 MB / 1.37 GB, free: 4.051 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.4041, allocations: 214.3 kB / 1.37 GB, free: 3.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.4145, allocations: 3.666 MB / 1.374 GB, free: 168 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008584/0.4231, allocations: 2.973 MB / 1.377 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006578/0.4296, allocations: 2.349 MB / 1.379 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01225/0.4419, allocations: 8.816 MB / 1.388 GB, free: 1.977 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.4548, allocations: 5.475 MB / 1.393 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008536/0.4633, allocations: 4.223 MB / 1.397 GB, free: 8.145 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00794/0.4712, allocations: 3.932 MB / 1.401 GB, free: 4.199 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002859/0.4741, allocations: 0.7109 MB / 1.402 GB, free: 3.488 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.4797, allocations: 1.615 MB / 1.403 GB, free: 1.871 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005025/0.4847, allocations: 2.895 MB / 1.406 GB, free: 14.97 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006663/0.4914, allocations: 2.743 MB / 1.409 GB, free: 12.21 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.5073, allocations: 11.25 MB / 1.42 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.5074, allocations: 4 kB / 1.42 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5074, allocations: 0 / 1.42 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003347/0.5077, allocations: 0 / 1.42 GB, free: 0.9258 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01553/0.5232, allocations: 6.033 MB / 1.426 GB, free: 10.83 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.5233, allocations: 8.031 kB / 1.426 GB, free: 10.82 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001656/0.5249, allocations: 0.7232 MB / 1.426 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/0.532, allocations: 1.172 MB / 1.428 GB, free: 8.91 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009341/0.5414, allocations: 3.45 MB / 1.431 GB, free: 5.371 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.5417, allocations: 374.4 kB / 1.431 GB, free: 5.004 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.5432, allocations: 499.8 kB / 1.432 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.5593, allocations: 8.709 MB / 1.44 GB, free: 11.37 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001364/0.5595, allocations: 23.83 kB / 1.44 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005687/0.56, allocations: 216 kB / 1.441 GB, free: 11.13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/0.5612, allocations: 437.6 kB / 1.441 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.5734, allocations: 6.073 MB / 1.447 GB, free: 4.617 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03771/0.6112, allocations: 22.05 MB / 1.468 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.6143, allocations: 1.905 MB / 1.47 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.617, allocations: 1.752 MB / 1.472 GB, free: 10.4 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.6171, allocations: 18 kB / 1.472 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.6171, allocations: 64.44 kB / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.459e-06/0.6171, allocations: 0 / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1585/0.7757, allocations: 38.69 MB / 1.51 GB, free: 3.562 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.7757, allocations: 81.58 kB / 1.51 GB, free: 3.469 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/0.7793, allocations: 2.321 MB / 1.512 GB, free: 1.133 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.7797, allocations: 73.7 kB / 1.512 GB, free: 1.055 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.7817, allocations: 2.334 MB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.7828, allocations: 0.9838 MB / 1.515 GB, free: 13.7 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.7838, allocations: 0.5063 MB / 1.516 GB, free: 13.19 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7839, allocations: 316.8 kB / 1.516 GB, free: 12.88 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.787, allocations: 1.973 MB / 1.518 GB, free: 10.9 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/0.7908, allocations: 2.599 MB / 1.521 GB, free: 8.059 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/0.7982, allocations: 4.929 MB / 1.526 GB, free: 2.855 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.7982, allocations: 4 kB / 1.526 GB, free: 2.852 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01593/0.8142, allocations: 7.649 MB / 1.533 GB, free: 11.13 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.8142, allocations: 15.98 kB / 1.533 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.8142, allocations: 20.88 kB / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009785/0.824, allocations: 3.204 MB / 1.536 GB, free: 7.875 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.8258, allocations: 411.2 kB / 1.537 GB, free: 7.473 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04988/0.8757, allocations: 32.75 MB / 1.569 GB, free: 6.023 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.8786, allocations: 163.8 kB / 1.569 GB, free: 5.863 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/0.8789, allocations: 104 kB / 1.569 GB, free: 5.762 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003374/0.8823, allocations: 1.805 MB / 1.571 GB, free: 3.945 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008271/0.8831, allocations: 349.8 kB / 1.571 GB, free: 3.602 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/0.8982, allocations: 7.232 MB / 1.578 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.8982, allocations: 28 kB / 1.578 GB, free: 12.26 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-05/0.8983, allocations: 28 kB / 1.578 GB, free: 12.23 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/0.8983, allocations: 15.94 kB / 1.578 GB, free: 12.22 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/0.9233, allocations: 12.15 MB / 1.59 GB, free: 15.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.9233, allocations: 11.94 kB / 1.59 GB, free: 15.89 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.9243, allocations: 231.6 kB / 1.59 GB, free: 15.66 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008647/0.933, allocations: 2.839 MB / 1.593 GB, free: 12.81 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/0.9333, allocations: 56 kB / 1.593 GB, free: 12.75 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6889/1.622, allocations: 31.53 MB / 1.624 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/1.622, allocations: 10.81 kB / 1.624 GB, free: 249.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/1.634, allocations: 6.778 MB / 1.63 GB, free: 246.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.637, allocations: 0.7271 MB / 1.631 GB, free: 246.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005336/1.637, allocations: 53.8 kB / 1.631 GB, free: 246.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.639, allocations: 169.1 kB / 1.631 GB, free: 246.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009883/1.64, allocations: 266.4 kB / 1.632 GB, free: 246 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.64, allocations: 75.34 kB / 1.632 GB, free: 246 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002166/1.642, allocations: 1.526 MB / 1.633 GB, free: 245.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.61e-07/1.642, allocations: 0 / 1.633 GB, free: 245.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003861/1.646, allocations: 1.375 MB / 1.634 GB, free: 245.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01223/1.658, allocations: 7.415 MB / 1.642 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009789/1.668, allocations: 6.568 MB / 1.648 GB, free: 239 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.668, allocations: 0 / 1.648 GB, free: 239 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006426/1.675, allocations: 4.249 MB / 1.652 GB, free: 236.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/1.679, allocations: 1.126 MB / 1.653 GB, free: 236.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05225/1.731, allocations: 39.05 MB / 1.692 GB, free: 202.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/1.734, allocations: 3.112 MB / 1.695 GB, free: 199.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001688/1.736, allocations: 0.5556 MB / 1.695 GB, free: 198.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.737, allocations: 1.976 MB / 1.697 GB, free: 197 MB / 1.295 GB Notification: Performance of SimCode: time 8.31e-07/1.737, allocations: 0 / 1.697 GB, free: 197 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.161/1.899, allocations: 119.1 MB / 1.813 GB, free: 79.61 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/17.77, allocations: 4.062 kB / 1.813 GB, free: 79.6 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 25.082200583070517]