Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0008335/0.0008335, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007596/0.0007596, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8904/0.8904, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.634/1.634, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.839e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02368/0.02371, allocations: 32.99 MB / 0.984 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.03647, allocations: 9.866 MB / 0.9936 GB, free: 7.957 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.03868, allocations: 194.6 kB / 0.9938 GB, free: 7.766 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.04337, allocations: 3.836 MB / 0.9975 GB, free: 3.922 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.0475, allocations: 2.198 MB / 0.9997 GB, free: 1.711 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.0511, allocations: 1.999 MB / 1.002 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00627/0.05737, allocations: 8.137 MB / 1.01 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004792/0.06216, allocations: 5.249 MB / 1.015 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004971/0.06714, allocations: 4.896 MB / 1.019 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003046/0.07018, allocations: 3.46 MB / 1.023 GB, free: 9.809 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000508/0.07069, allocations: 0.6797 MB / 1.024 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.07243, allocations: 1.369 MB / 1.025 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.07396, allocations: 2.806 MB / 1.028 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.07562, allocations: 2.168 MB / 1.03 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.006577/0.0822, allocations: 10.58 MB / 1.04 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.0822, allocations: 0 / 1.04 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.875e-06/0.0822, allocations: 0 / 1.04 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001043/0.08231, allocations: 0 / 1.04 GB, free: 8.164 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006297/0.08861, allocations: 5.416 MB / 1.045 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.08865, allocations: 8.031 kB / 1.045 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.091, allocations: 1.001 MB / 1.046 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5345/0.6254, allocations: 3.127 MB / 1.049 GB, free: 83.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.6256, allocations: 354.4 kB / 1.05 GB, free: 83.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/0.6261, allocations: 470.4 kB / 1.05 GB, free: 83.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007865/0.634, allocations: 8.67 MB / 1.059 GB, free: 81.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.075e-05/0.634, allocations: 12.97 kB / 1.059 GB, free: 81.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.6344, allocations: 210.1 kB / 1.059 GB, free: 81.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/0.6347, allocations: 366.2 kB / 1.059 GB, free: 81.47 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005871/0.6405, allocations: 5.931 MB / 1.065 GB, free: 81.42 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/0.6564, allocations: 22.91 MB / 1.087 GB, free: 67.78 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.6585, allocations: 1.992 MB / 1.089 GB, free: 67.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.6598, allocations: 1.331 MB / 1.091 GB, free: 66.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.686e-05/0.6598, allocations: 16.69 kB / 1.091 GB, free: 66.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.6599, allocations: 55.38 kB / 1.091 GB, free: 66.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=157): time 4.137e-06/0.6599, allocations: 0 / 1.091 GB, free: 66.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=160): time 0.008257/0.6681, allocations: 6.646 MB / 1.097 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.6682, allocations: 68.5 kB / 1.097 GB, free: 63.81 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.6698, allocations: 1.712 MB / 1.099 GB, free: 63.13 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.6699, allocations: 57.8 kB / 1.099 GB, free: 63.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/0.6708, allocations: 2.185 MB / 1.101 GB, free: 61.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.6711, allocations: 0.5774 MB / 1.102 GB, free: 61.26 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.6716, allocations: 402.8 kB / 1.102 GB, free: 61.05 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.074e-05/0.6716, allocations: 302.8 kB / 1.102 GB, free: 60.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.6727, allocations: 1.065 MB / 1.103 GB, free: 60.35 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.6742, allocations: 1.761 MB / 1.105 GB, free: 59.09 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.6769, allocations: 3.051 MB / 1.108 GB, free: 57.23 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.6769, allocations: 6.375 kB / 1.108 GB, free: 57.23 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004478/0.6814, allocations: 3.883 MB / 1.112 GB, free: 55.76 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6814, allocations: 14.72 kB / 1.112 GB, free: 55.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.6814, allocations: 22 kB / 1.112 GB, free: 55.76 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/0.683, allocations: 0.926 MB / 1.113 GB, free: 55.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008703/0.6838, allocations: 431.5 kB / 1.113 GB, free: 55.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.6949, allocations: 21.11 MB / 1.134 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6962, allocations: 119.3 kB / 1.134 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.6963, allocations: 97.47 kB / 1.134 GB, free: 38.02 MB / 0.9948 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00268/0.699, allocations: 1.65 MB / 1.136 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.6992, allocations: 248.4 kB / 1.136 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/0.7029, allocations: 3.231 MB / 1.139 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.703, allocations: 16.64 kB / 1.139 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.703, allocations: 13.75 kB / 1.139 GB, free: 35.81 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.703, allocations: 7.734 kB / 1.139 GB, free: 35.81 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00827/0.7112, allocations: 6.444 MB / 1.145 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.7113, allocations: 4.031 kB / 1.145 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.7118, allocations: 217 kB / 1.146 GB, free: 33.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.7132, allocations: 0.9005 MB / 1.146 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.7133, allocations: 31.72 kB / 1.146 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.7238, allocations: 21.06 MB / 1.167 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7238, allocations: 8.688 kB / 1.167 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.7273, allocations: 3.334 MB / 1.17 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.728, allocations: 455.5 kB / 1.171 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.7282, allocations: 36.33 kB / 1.171 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.7287, allocations: 91.03 kB / 1.171 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.7291, allocations: 151.1 kB / 1.171 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.7292, allocations: 44.55 kB / 1.171 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001123/0.7303, allocations: 1.092 MB / 1.172 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7303, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002611/0.7329, allocations: 0.9036 MB / 1.173 GB, free: 13.05 MB / 0.9948 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.7331, allocations: 157.2 kB / 1.173 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003625/0.7367, allocations: 4.28 MB / 1.177 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7367, allocations: 1.812 kB / 1.177 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.7387, allocations: 2.912 MB / 1.18 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.7403, allocations: 0.7544 MB / 1.181 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.7484, allocations: 8.418 MB / 1.189 GB, free: 4.52 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.7506, allocations: 2.74 MB / 1.192 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.7509, allocations: 149.9 kB / 1.192 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/0.7509, allocations: 0 / 1.192 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of Templates: time 0.1836/0.9345, allocations: 340.5 MB / 1.525 GB, free: 15.82 MB / 1.339 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 17.16013064607978]