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.001356/0.001356, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.00157/0.00157, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.78/2.78, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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 2.374e-06/2.374e-06, allocations: 1.203 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.388e-05/4.626e-05, allocations: 6.406 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05105/0.0511, allocations: 32.99 MB / 0.8186 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.07382, allocations: 9.907 MB / 0.8283 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.07805, allocations: 194.6 kB / 0.8285 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.08986, allocations: 3.83 MB / 0.8322 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007649/0.0975, allocations: 2.202 MB / 0.8344 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.006825/0.1043, allocations: 1.976 MB / 0.8363 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.1173, allocations: 8.133 MB / 0.8442 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.1298, allocations: 5.25 MB / 0.8494 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/0.1417, allocations: 4.865 MB / 0.8541 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007419/0.1491, allocations: 3.429 MB / 0.8575 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.002415/0.1516, allocations: 0.6914 MB / 0.8581 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004826/0.1564, allocations: 1.385 MB / 0.8595 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.005542/0.1619, allocations: 2.829 MB / 0.8623 GB, free: 14.81 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.006808/0.1687, allocations: 2.195 MB / 0.8644 GB, free: 12.61 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01862/0.1874, allocations: 10.68 MB / 0.8748 GB, free: 1.898 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.1874, allocations: 0 / 0.8748 GB, free: 1.898 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1874, allocations: 0 / 0.8748 GB, free: 1.898 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004498/0.1878, allocations: 0 / 0.8748 GB, free: 1.898 MB / 0.823 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.01871/0.2065, allocations: 5.442 MB / 0.8801 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2066, allocations: 8.031 kB / 0.8801 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009057/0.2156, allocations: 1.589 MB / 0.8817 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009091/0.2247, allocations: 3.435 MB / 0.8851 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/0.2253, allocations: 353.9 kB / 0.8854 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/0.2272, allocations: 484.3 kB / 0.8859 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.2477, allocations: 8.655 MB / 0.8943 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002349/0.2479, allocations: 23.95 kB / 0.8943 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001425/0.2493, allocations: 210.2 kB / 0.8945 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007559/0.2501, allocations: 365.1 kB / 0.8949 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.2641, allocations: 5.926 MB / 0.9007 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04398/0.3081, allocations: 23.11 MB / 0.9232 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/0.3123, allocations: 1.995 MB / 0.9252 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/0.3148, allocations: 1.334 MB / 0.9265 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.315, allocations: 37.25 kB / 0.9265 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.315, allocations: 51.88 kB / 0.9266 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=157): time 4.118e-06/0.315, allocations: 0 / 0.9266 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of matching and sorting (n=160): time 0.01635/0.3314, allocations: 6.702 MB / 0.9331 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.3315, allocations: 72.66 kB / 0.9332 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.3343, allocations: 1.67 MB / 0.9348 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.3345, allocations: 49.7 kB / 0.9349 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/0.3365, allocations: 2.195 MB / 0.937 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009239/0.3374, allocations: 0.5771 MB / 0.9376 GB, free: 148 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007863/0.3382, allocations: 400.1 kB / 0.938 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3384, allocations: 305.1 kB / 0.9382 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.3403, allocations: 1.031 MB / 0.9393 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.3431, allocations: 1.829 MB / 0.941 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005334/0.3484, allocations: 3.115 MB / 0.9441 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/0.3484, allocations: 8 kB / 0.9441 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008289/0.3567, allocations: 3.976 MB / 0.948 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.3568, allocations: 16 kB / 0.948 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/0.3568, allocations: 28 kB / 0.948 GB, free: 4.645 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.3601, allocations: 0.9941 MB / 0.949 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3619, allocations: 427.2 kB / 0.9494 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/0.389, allocations: 21.17 MB / 0.9701 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.3911, allocations: 131.8 kB / 0.9702 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.3915, allocations: 100 kB / 0.9703 GB, free: 12.57 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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.00354/0.395, allocations: 1.652 MB / 0.9719 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/0.3959, allocations: 302.5 kB / 0.9722 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006704/0.4026, allocations: 3.229 MB / 0.9753 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.4026, allocations: 16 kB / 0.9754 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/0.4026, allocations: 8 kB / 0.9754 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.4026, allocations: 11.91 kB / 0.9754 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.4169, allocations: 6.429 MB / 0.9817 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.4169, allocations: 7.938 kB / 0.9817 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.418, allocations: 219.6 kB / 0.9819 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/0.421, allocations: 0.9437 MB / 0.9828 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.4212, allocations: 32 kB / 0.9828 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02652/0.4477, allocations: 21.13 MB / 1.003 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.4477, allocations: 11.88 kB / 1.003 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007026/0.4548, allocations: 3.38 MB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.456, allocations: 450.4 kB / 1.007 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/0.4565, allocations: 31.95 kB / 1.007 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.4577, allocations: 95.88 kB / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/0.4581, allocations: 144.9 kB / 1.007 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.4583, allocations: 55.94 kB / 1.008 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002044/0.4603, allocations: 1.059 MB / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4603, allocations: 0 / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004867/0.4652, allocations: 0.8984 MB / 1.009 GB, free: 2.887 MB / 0.9636 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.0004608/0.4656, allocations: 155 kB / 1.01 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01124/0.4769, allocations: 4.282 MB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.4769, allocations: 4 kB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00742/0.4843, allocations: 2.897 MB / 1.017 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006041/0.4904, allocations: 0.7656 MB / 1.017 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/0.5169, allocations: 7.908 MB / 1.025 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007969/0.5248, allocations: 2.661 MB / 1.028 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003664/0.5285, allocations: 0.5124 MB / 1.028 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/0.5293, allocations: 140.5 kB / 1.028 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.273e-06/0.5293, allocations: 0 / 1.028 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of Templates: time 0.4125/0.9418, allocations: 41.96 MB / 1.069 GB, free: 275.6 MB / 1.01 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: 9.822425963007845]