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.001206/0.001206, 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.001326/0.001326, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.038/3.038, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",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="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: 64.31 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3141, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04178/0.3559, allocations: 34.82 MB / 1.361 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02504/0.3809, allocations: 15.3 MB / 1.376 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.3842, allocations: 202.4 kB / 1.376 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0101/0.3943, allocations: 3.823 MB / 1.38 GB, free: 11.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009603/0.4039, allocations: 3.011 MB / 1.382 GB, free: 8.621 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.4108, allocations: 2.383 MB / 1.385 GB, free: 6.238 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01265/0.4234, allocations: 8.823 MB / 1.393 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.4338, allocations: 5.557 MB / 1.399 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/0.4414, allocations: 4.071 MB / 1.403 GB, free: 3.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007779/0.4492, allocations: 4.264 MB / 1.407 GB, free: 15.34 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/0.4511, allocations: 0.7148 MB / 1.408 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.4557, allocations: 1.751 MB / 1.409 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003998/0.4597, allocations: 2.899 MB / 1.412 GB, free: 9.969 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00737/0.4671, allocations: 3.396 MB / 1.416 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.4833, allocations: 11.21 MB / 1.427 GB, free: 11.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4833, allocations: 0 / 1.427 GB, free: 11.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4833, allocations: 0 / 1.427 GB, free: 11.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002633/0.4836, allocations: 0 / 1.427 GB, free: 11.31 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01446/0.4981, allocations: 6.057 MB / 1.432 GB, free: 5.184 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4981, allocations: 12.03 kB / 1.432 GB, free: 5.172 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001523/0.4983, allocations: 134.2 kB / 1.433 GB, free: 5.039 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001444/0.4997, allocations: 0.727 MB / 1.433 GB, free: 4.301 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/0.5066, allocations: 1.168 MB / 1.434 GB, free: 3.129 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008408/0.5151, allocations: 3.462 MB / 1.438 GB, free: 15.57 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.5155, allocations: 382.1 kB / 1.438 GB, free: 15.2 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/0.5173, allocations: 499.9 kB / 1.439 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.5369, allocations: 8.001 MB / 1.446 GB, free: 6.438 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/0.5372, allocations: 23.83 kB / 1.446 GB, free: 6.414 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.5388, allocations: 212 kB / 1.447 GB, free: 6.207 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001287/0.5401, allocations: 437.6 kB / 1.447 GB, free: 5.777 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.554, allocations: 6.092 MB / 1.453 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/0.6037, allocations: 34.65 MB / 1.487 GB, free: 9.828 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.607, allocations: 1.909 MB / 1.489 GB, free: 7.918 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.61, allocations: 1.744 MB / 1.49 GB, free: 6.176 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.6101, allocations: 25.92 kB / 1.49 GB, free: 6.148 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.6102, allocations: 56.56 kB / 1.491 GB, free: 6.086 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 3.707e-06/0.6102, allocations: 0 / 1.491 GB, free: 6.086 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.1571/0.7673, allocations: 38.7 MB / 1.528 GB, free: 15.33 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.7674, allocations: 81.58 kB / 1.528 GB, free: 15.23 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/0.7713, allocations: 2.278 MB / 1.531 GB, free: 12.94 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004485/0.7718, allocations: 73.7 kB / 1.531 GB, free: 12.86 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.7737, allocations: 2.338 MB / 1.533 GB, free: 10.5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.775, allocations: 0.9876 MB / 1.534 GB, free: 9.508 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.7763, allocations: 0.5103 MB / 1.534 GB, free: 8.988 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7764, allocations: 305.1 kB / 1.535 GB, free: 8.688 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003266/0.7797, allocations: 1.973 MB / 1.537 GB, free: 6.711 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.7835, allocations: 2.599 MB / 1.539 GB, free: 3.863 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007326/0.7908, allocations: 4.937 MB / 1.544 GB, free: 14.65 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/0.7909, allocations: 4 kB / 1.544 GB, free: 14.65 MB / 1.248 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01572/0.8066, allocations: 7.646 MB / 1.551 GB, free: 6.934 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.8066, allocations: 13 kB / 1.551 GB, free: 6.922 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.8066, allocations: 19.98 kB / 1.552 GB, free: 6.902 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009681/0.8163, allocations: 3.221 MB / 1.555 GB, free: 3.664 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.818, allocations: 399.4 kB / 1.555 GB, free: 3.273 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04961/0.8676, allocations: 33.3 MB / 1.588 GB, free: 1.277 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.8705, allocations: 159.8 kB / 1.588 GB, free: 1.121 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/0.871, allocations: 112 kB / 1.588 GB, free: 1.008 MB / 1.279 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.003402/0.8744, allocations: 1.794 MB / 1.59 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009066/0.8753, allocations: 349.8 kB / 1.59 GB, free: 14.86 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.891, allocations: 7.235 MB / 1.597 GB, free: 7.543 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/0.891, allocations: 27.98 kB / 1.597 GB, free: 7.516 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-05/0.8911, allocations: 32 kB / 1.597 GB, free: 7.484 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.974e-05/0.8911, allocations: 11.95 kB / 1.597 GB, free: 7.473 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6854/1.577, allocations: 12.79 MB / 1.61 GB, free: 254 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.577, allocations: 11.62 kB / 1.61 GB, free: 254 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.578, allocations: 229.7 kB / 1.61 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008178/1.586, allocations: 2.854 MB / 1.613 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003158/1.586, allocations: 54.83 kB / 1.613 GB, free: 253.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04449/1.631, allocations: 32.08 MB / 1.644 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.631, allocations: 12.42 kB / 1.644 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.643, allocations: 6.777 MB / 1.651 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.645, allocations: 0.7227 MB / 1.651 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008716/1.645, allocations: 54.98 kB / 1.651 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.648, allocations: 176 kB / 1.651 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009758/1.649, allocations: 270 kB / 1.652 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.649, allocations: 75.28 kB / 1.652 GB, free: 233.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002364/1.651, allocations: 1.528 MB / 1.653 GB, free: 233 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.651, allocations: 0 / 1.653 GB, free: 233 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004257/1.655, allocations: 1.369 MB / 1.655 GB, free: 232.9 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.01094/1.666, allocations: 7.417 MB / 1.662 GB, free: 229.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009735/1.676, allocations: 6.575 MB / 1.668 GB, free: 226.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.676, allocations: 3.688 kB / 1.668 GB, free: 226.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00667/1.683, allocations: 4.234 MB / 1.672 GB, free: 222.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/1.688, allocations: 1.127 MB / 1.674 GB, free: 221.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06303/1.751, allocations: 39.07 MB / 1.712 GB, free: 181.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005329/1.757, allocations: 3.643 MB / 1.715 GB, free: 177.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002057/1.759, allocations: 0.5595 MB / 1.716 GB, free: 177 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/1.761, allocations: 1.971 MB / 1.718 GB, free: 175 MB / 1.295 GB Notification: Performance of SimCode: time 1.522e-06/1.761, allocations: 0 / 1.718 GB, free: 175 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/1.924, allocations: 115.5 MB / 1.83 GB, free: 60.89 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/19.65, allocations: 14.56 kB / 1.83 GB, free: 60.88 MB / 1.295 GB " [Timeout remaining time 280] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 27.352188007964287]