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.001664/0.001664, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002051/0.002051, allocations: 216 kB / 22.25 MB, free: 5.105 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.789 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.081/3.081, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.002055/0.002055, allocations: 74.91 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2938, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04057/0.3344, allocations: 31.7 MB / 1.357 GB, free: 1.703 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.3593, allocations: 14.46 MB / 1.371 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.3624, allocations: 210.4 kB / 1.371 GB, free: 3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.3726, allocations: 3.677 MB / 1.375 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008131/0.3808, allocations: 2.976 MB / 1.378 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006235/0.387, allocations: 2.339 MB / 1.38 GB, free: 9.984 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.3989, allocations: 8.816 MB / 1.389 GB, free: 1.133 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009236/0.4081, allocations: 5.545 MB / 1.394 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007244/0.4154, allocations: 4.215 MB / 1.398 GB, free: 7.238 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007452/0.4228, allocations: 4.197 MB / 1.402 GB, free: 3.027 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00193/0.4248, allocations: 0.7109 MB / 1.403 GB, free: 2.316 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.4287, allocations: 1.619 MB / 1.404 GB, free: 0.6953 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003898/0.4326, allocations: 2.895 MB / 1.407 GB, free: 13.79 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005226/0.4378, allocations: 2.739 MB / 1.41 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.4531, allocations: 11.25 MB / 1.421 GB, free: 15.75 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.4531, allocations: 0 / 1.421 GB, free: 15.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4531, allocations: 4 kB / 1.421 GB, free: 15.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003129/0.4534, allocations: 0 / 1.421 GB, free: 15.75 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.01573/0.4692, allocations: 6.033 MB / 1.427 GB, free: 9.652 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4692, allocations: 8.031 kB / 1.427 GB, free: 9.645 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001794/0.471, allocations: 0.7271 MB / 1.428 GB, free: 8.906 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007517/0.4785, allocations: 1.168 MB / 1.429 GB, free: 7.734 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009503/0.488, allocations: 3.454 MB / 1.432 GB, free: 4.191 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004116/0.4885, allocations: 370.4 kB / 1.432 GB, free: 3.828 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/0.4902, allocations: 499.9 kB / 1.433 GB, free: 3.34 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.5079, allocations: 8.701 MB / 1.441 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.508, allocations: 31.77 kB / 1.441 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00067/0.5087, allocations: 212 kB / 1.442 GB, free: 9.961 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.5098, allocations: 437.6 kB / 1.442 GB, free: 9.531 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.5211, allocations: 6.073 MB / 1.448 GB, free: 3.445 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03592/0.5571, allocations: 22.05 MB / 1.47 GB, free: 12.9 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.5602, allocations: 1.913 MB / 1.471 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.563, allocations: 1.756 MB / 1.473 GB, free: 9.223 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.5631, allocations: 18 kB / 1.473 GB, free: 9.203 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.5632, allocations: 56.5 kB / 1.473 GB, free: 9.141 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 3.997e-06/0.5632, allocations: 0 / 1.473 GB, free: 9.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1538/0.717, allocations: 38.7 MB / 1.511 GB, free: 2.383 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.717, allocations: 81.58 kB / 1.511 GB, free: 2.289 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.7204, allocations: 2.317 MB / 1.513 GB, free: 15.96 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000316/0.7207, allocations: 73.7 kB / 1.513 GB, free: 15.88 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.7226, allocations: 2.334 MB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.7237, allocations: 0.9877 MB / 1.517 GB, free: 12.53 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.7247, allocations: 0.5063 MB / 1.517 GB, free: 12.01 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.7249, allocations: 305.1 kB / 1.517 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/0.7279, allocations: 1.977 MB / 1.519 GB, free: 9.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/0.7316, allocations: 2.599 MB / 1.522 GB, free: 6.887 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.7387, allocations: 4.933 MB / 1.527 GB, free: 1.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.7387, allocations: 4 kB / 1.527 GB, free: 1.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01568/0.7544, allocations: 7.65 MB / 1.534 GB, free: 9.953 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.7544, allocations: 12 kB / 1.534 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.7544, allocations: 20.88 kB / 1.534 GB, free: 9.922 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009919/0.7644, allocations: 3.213 MB / 1.537 GB, free: 6.691 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.7661, allocations: 399.4 kB / 1.538 GB, free: 6.301 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04828/0.8143, allocations: 32.75 MB / 1.57 GB, free: 4.855 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.8172, allocations: 163.9 kB / 1.57 GB, free: 4.695 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/0.8176, allocations: 111.9 kB / 1.57 GB, free: 4.586 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.003155/0.8207, allocations: 1.796 MB / 1.572 GB, free: 2.781 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007532/0.8215, allocations: 349.9 kB / 1.572 GB, free: 2.438 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.8364, allocations: 7.239 MB / 1.579 GB, free: 11.11 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.8364, allocations: 28 kB / 1.579 GB, free: 11.09 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-05/0.8365, allocations: 28 kB / 1.579 GB, free: 11.06 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.8365, allocations: 15.94 kB / 1.579 GB, free: 11.04 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/0.8607, allocations: 12.14 MB / 1.591 GB, free: 14.73 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.8607, allocations: 15.88 kB / 1.591 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.8616, allocations: 231.6 kB / 1.591 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008735/0.8704, allocations: 2.837 MB / 1.594 GB, free: 11.64 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.8706, allocations: 52 kB / 1.594 GB, free: 11.59 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6018/1.472, allocations: 31.54 MB / 1.625 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.472, allocations: 12.84 kB / 1.625 GB, free: 247.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.484, allocations: 6.779 MB / 1.632 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.486, allocations: 0.7278 MB / 1.632 GB, free: 244.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/1.487, allocations: 50.95 kB / 1.632 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.488, allocations: 167.9 kB / 1.632 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008691/1.489, allocations: 270.8 kB / 1.633 GB, free: 244.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.489, allocations: 79.91 kB / 1.633 GB, free: 244.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002039/1.491, allocations: 1.527 MB / 1.634 GB, free: 243.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.491, allocations: 0 / 1.634 GB, free: 243.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003547/1.495, allocations: 1.369 MB / 1.636 GB, free: 243.5 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.0112/1.506, allocations: 7.417 MB / 1.643 GB, free: 240.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009283/1.515, allocations: 6.562 MB / 1.649 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.515, allocations: 0 / 1.649 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006239/1.522, allocations: 4.266 MB / 1.653 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/1.526, allocations: 1.12 MB / 1.655 GB, free: 234.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04894/1.575, allocations: 39.04 MB / 1.693 GB, free: 200.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/1.578, allocations: 3.112 MB / 1.696 GB, free: 197.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001697/1.58, allocations: 0.5556 MB / 1.696 GB, free: 196.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/1.581, allocations: 1.975 MB / 1.698 GB, free: 194.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.032e-06/1.581, allocations: 0.7656 kB / 1.698 GB, free: 194.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/1.74, allocations: 120.3 MB / 1.816 GB, free: 76.28 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/17.46, allocations: 9.203 kB / 1.816 GB, free: 76.28 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: 24.501379819004796]