Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001402/0.001402, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001636/0.001636, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.175/3.175, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.704e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04637/0.04639, allocations: 31.1 MB / 0.908 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02822/0.07461, allocations: 14.31 MB / 0.922 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003464/0.07808, allocations: 214.4 kB / 0.9222 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.08928, allocations: 3.686 MB / 0.9258 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00968/0.09896, allocations: 3.067 MB / 0.9288 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00721/0.1062, allocations: 2.361 MB / 0.9311 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.1203, allocations: 9.003 MB / 0.9399 GB, free: 6.566 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.1324, allocations: 5.511 MB / 0.9452 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.1448, allocations: 5.684 MB / 0.9508 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00753/0.1523, allocations: 3.659 MB / 0.9544 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002324/0.1547, allocations: 0.7109 MB / 0.9551 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.1596, allocations: 1.638 MB / 0.9567 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004985/0.1646, allocations: 3.02 MB / 0.9596 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.006192/0.1708, allocations: 2.359 MB / 0.9619 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.1886, allocations: 11.37 MB / 0.973 GB, free: 4.418 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1887, allocations: 3.938 kB / 0.973 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1887, allocations: 0 / 0.973 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000368/0.189, allocations: 0 / 0.973 GB, free: 4.414 MB / 0.9323 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.01929/0.2083, allocations: 5.978 MB / 0.9788 GB, free: 14.37 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2084, allocations: 11.97 kB / 0.9789 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008291/0.2166, allocations: 1.819 MB / 0.9806 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008986/0.2256, allocations: 3.649 MB / 0.9842 GB, free: 8.805 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.226, allocations: 374.3 kB / 0.9846 GB, free: 8.438 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.2275, allocations: 0.5003 MB / 0.985 GB, free: 7.938 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.2459, allocations: 8.709 MB / 0.9935 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/0.2461, allocations: 23.78 kB / 0.9936 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000767/0.2468, allocations: 220 kB / 0.9938 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001187/0.248, allocations: 441.5 kB / 0.9942 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0157/0.2637, allocations: 6.073 MB / 1 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04695/0.3107, allocations: 21.39 MB / 1.021 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.3143, allocations: 1.917 MB / 1.023 GB, free: 236 kB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00327/0.3175, allocations: 1.745 MB / 1.025 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.3177, allocations: 34 kB / 1.025 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.352e-05/0.3178, allocations: 52.56 kB / 1.025 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=171): time 3.888e-06/0.3178, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.6198/0.9376, allocations: 38.72 MB / 1.062 GB, free: 200 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.9377, allocations: 82.64 kB / 1.063 GB, free: 199.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.9405, allocations: 2.038 MB / 1.065 GB, free: 199.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003401/0.9408, allocations: 73.52 kB / 1.065 GB, free: 199.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.9421, allocations: 2.35 MB / 1.067 GB, free: 197.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007134/0.9428, allocations: 0.9672 MB / 1.068 GB, free: 197 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009067/0.9437, allocations: 0.5038 MB / 1.068 GB, free: 196.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.9438, allocations: 302.9 kB / 1.069 GB, free: 196.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.9462, allocations: 1.975 MB / 1.071 GB, free: 195.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/0.9489, allocations: 2.598 MB / 1.073 GB, free: 194.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005448/0.9544, allocations: 4.928 MB / 1.078 GB, free: 191.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.9544, allocations: 8.938 kB / 1.078 GB, free: 191.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01401/0.9684, allocations: 7.748 MB / 1.086 GB, free: 188.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.9684, allocations: 20.62 kB / 1.086 GB, free: 188.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/0.9685, allocations: 17.31 kB / 1.086 GB, free: 188.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01318/0.9816, allocations: 3.716 MB / 1.089 GB, free: 187.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.9835, allocations: 402.8 kB / 1.09 GB, free: 187.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04835/1.032, allocations: 32.74 MB / 1.122 GB, free: 168.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/1.035, allocations: 158.9 kB / 1.122 GB, free: 168.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005657/1.036, allocations: 109.5 kB / 1.122 GB, free: 168.8 MB / 1.01 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.003819/1.039, allocations: 1.793 MB / 1.124 GB, free: 168 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.041, allocations: 407.4 kB / 1.124 GB, free: 167.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.057, allocations: 7.239 MB / 1.131 GB, free: 164.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/1.057, allocations: 26.47 kB / 1.131 GB, free: 164.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001467/1.057, allocations: 29.16 kB / 1.131 GB, free: 164.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/1.057, allocations: 13.5 kB / 1.131 GB, free: 164.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.081, allocations: 11.4 MB / 1.142 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/1.081, allocations: 7.594 kB / 1.142 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.082, allocations: 231.9 kB / 1.142 GB, free: 160.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.094, allocations: 3.364 MB / 1.146 GB, free: 159.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/1.094, allocations: 48 kB / 1.146 GB, free: 159.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03737/1.132, allocations: 31.53 MB / 1.177 GB, free: 128.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.132, allocations: 7.938 kB / 1.177 GB, free: 128.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.144, allocations: 6.839 MB / 1.183 GB, free: 121.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.146, allocations: 0.6979 MB / 1.184 GB, free: 120.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009202/1.147, allocations: 55.38 kB / 1.184 GB, free: 120.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.149, allocations: 170.7 kB / 1.184 GB, free: 120.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009291/1.15, allocations: 265.3 kB / 1.184 GB, free: 120.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/1.15, allocations: 76 kB / 1.184 GB, free: 120 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002311/1.153, allocations: 1.338 MB / 1.186 GB, free: 118.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/1.153, allocations: 0 / 1.186 GB, free: 118.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005053/1.158, allocations: 1.379 MB / 1.187 GB, free: 117.3 MB / 1.01 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.0004523/1.158, allocations: 167.5 kB / 1.187 GB, free: 117.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.169, allocations: 6.566 MB / 1.194 GB, free: 110.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/1.169, allocations: 0 / 1.194 GB, free: 110.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007184/1.176, allocations: 4.268 MB / 1.198 GB, free: 106.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00557/1.182, allocations: 1.021 MB / 1.199 GB, free: 105.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.202, allocations: 10.46 MB / 1.209 GB, free: 94.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004709/1.207, allocations: 3.108 MB / 1.212 GB, free: 91.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001964/1.209, allocations: 0.5299 MB / 1.213 GB, free: 90.95 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/1.209, allocations: 148.5 kB / 1.213 GB, free: 90.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/1.209, allocations: 0 / 1.213 GB, free: 90.8 MB / 1.01 GB Notification: Performance of Templates: time 0.09967/1.309, allocations: 75.52 MB / 1.286 GB, free: 16.71 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.285070532001555]