Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001642/0.001642, allocations: 84.73 kB / 19.43 MB, free: 360 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.002002/0.002002, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.452/1.452, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.22/3.22, 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.208e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04984/0.04987, allocations: 33.01 MB / 0.9099 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.07312, allocations: 11.39 MB / 0.921 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.07639, allocations: 214.4 kB / 0.9212 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01266/0.08905, allocations: 4.27 MB / 0.9254 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.0956, allocations: 2.152 MB / 0.9275 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.007074/0.1027, allocations: 2.427 MB / 0.9298 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01248/0.1151, allocations: 8.611 MB / 0.9382 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/0.1282, allocations: 6.182 MB / 0.9443 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/0.1389, allocations: 5.392 MB / 0.9495 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007813/0.1468, allocations: 3.912 MB / 0.9534 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.1489, allocations: 0.7812 MB / 0.9541 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005545/0.1544, allocations: 1.93 MB / 0.956 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.005978/0.1604, allocations: 3.274 MB / 0.9592 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.006058/0.1664, allocations: 2.378 MB / 0.9615 GB, free: 212 kB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.1841, allocations: 12.25 MB / 0.9735 GB, free: 3.926 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1841, allocations: 3.938 kB / 0.9735 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1841, allocations: 0 / 0.9735 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002983/0.1844, allocations: 0 / 0.9735 GB, free: 3.922 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01425/0.1986, allocations: 5.805 MB / 0.9792 GB, free: 14.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1987, allocations: 8.031 kB / 0.9792 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007471/0.2061, allocations: 1.795 MB / 0.9809 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008473/0.2146, allocations: 3.605 MB / 0.9844 GB, free: 8.574 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/0.2151, allocations: 415.5 kB / 0.9848 GB, free: 8.168 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.2169, allocations: 0.5432 MB / 0.9854 GB, free: 7.625 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02101/0.2379, allocations: 9.38 MB / 0.9945 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/0.2381, allocations: 35.89 kB / 0.9946 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007845/0.2389, allocations: 236.3 kB / 0.9948 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004654/0.2394, allocations: 354.7 kB / 0.9951 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.2542, allocations: 6.822 MB / 1.002 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04061/0.2948, allocations: 24.44 MB / 1.026 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.2989, allocations: 2.293 MB / 1.028 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.3018, allocations: 1.779 MB / 1.03 GB, free: 9.309 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.3019, allocations: 33.94 kB / 1.03 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.302, allocations: 52.56 kB / 1.03 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 3.868e-06/0.302, allocations: 0 / 1.03 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.02729/0.3293, allocations: 9.737 MB / 1.039 GB, free: 15.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.3293, allocations: 69.41 kB / 1.039 GB, free: 15.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.3319, allocations: 1.457 MB / 1.041 GB, free: 13.92 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.332, allocations: 61.7 kB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.3341, allocations: 2.311 MB / 1.043 GB, free: 11.53 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.3348, allocations: 0.6467 MB / 1.044 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007348/0.3355, allocations: 408.1 kB / 1.044 GB, free: 10.47 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3357, allocations: 301.1 kB / 1.044 GB, free: 10.17 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.3377, allocations: 1.179 MB / 1.045 GB, free: 8.988 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.3405, allocations: 1.885 MB / 1.047 GB, free: 6.781 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005135/0.3456, allocations: 3.367 MB / 1.051 GB, free: 3.105 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.3456, allocations: 8 kB / 1.051 GB, free: 3.098 MB / 1.01 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.4438/0.7895, allocations: 4.626 MB / 1.055 GB, free: 198.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.7895, allocations: 15.69 kB / 1.055 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.7896, allocations: 26.16 kB / 1.055 GB, free: 198.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007128/0.7967, allocations: 1.732 MB / 1.057 GB, free: 198.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.799, allocations: 355.2 kB / 1.057 GB, free: 198.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03206/0.831, allocations: 17.92 MB / 1.075 GB, free: 187.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.8337, allocations: 120.2 kB / 1.075 GB, free: 187.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.834, allocations: 97.22 kB / 1.075 GB, free: 187.8 MB / 1.01 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004221/0.8383, allocations: 1.893 MB / 1.077 GB, free: 187 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008672/0.8391, allocations: 281 kB / 1.077 GB, free: 187 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/0.8491, allocations: 4.041 MB / 1.081 GB, free: 185.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.8491, allocations: 18.25 kB / 1.081 GB, free: 185.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/0.8491, allocations: 15.59 kB / 1.081 GB, free: 185.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.8492, allocations: 16.7 kB / 1.081 GB, free: 185.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02158/0.8708, allocations: 7.844 MB / 1.089 GB, free: 182.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/0.8708, allocations: 4.062 kB / 1.089 GB, free: 182.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.8722, allocations: 184.7 kB / 1.089 GB, free: 182.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006776/0.879, allocations: 1.499 MB / 1.09 GB, free: 181.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/0.8793, allocations: 36.75 kB / 1.09 GB, free: 181.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03189/0.9112, allocations: 16.71 MB / 1.107 GB, free: 172.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.9112, allocations: 4.656 kB / 1.107 GB, free: 172.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.9221, allocations: 4.069 MB / 1.111 GB, free: 170.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/0.9241, allocations: 470.1 kB / 1.111 GB, free: 170.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005924/0.9247, allocations: 41.62 kB / 1.111 GB, free: 170.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.9263, allocations: 92.23 kB / 1.111 GB, free: 170.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008312/0.9272, allocations: 168.3 kB / 1.111 GB, free: 170.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.9274, allocations: 48.78 kB / 1.111 GB, free: 170.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002112/0.9295, allocations: 0.9272 MB / 1.112 GB, free: 169.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9295, allocations: 0 / 1.112 GB, free: 169.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005929/0.9354, allocations: 0.9985 MB / 1.113 GB, free: 169.7 MB / 1.01 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004356/0.9358, allocations: 148.2 kB / 1.113 GB, free: 169.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01168/0.9475, allocations: 4.173 MB / 1.118 GB, free: 167.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/0.9475, allocations: 0 / 1.118 GB, free: 167.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.007092/0.9546, allocations: 2.586 MB / 1.12 GB, free: 166.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/0.9603, allocations: 0.768 MB / 1.121 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.9849, allocations: 8.98 MB / 1.13 GB, free: 162.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007148/0.9921, allocations: 3.041 MB / 1.133 GB, free: 161.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002354/0.9945, allocations: 455.3 kB / 1.133 GB, free: 161.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.9949, allocations: 110.2 kB / 1.133 GB, free: 161.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.433e-06/0.9949, allocations: 3.719 kB / 1.133 GB, free: 161.2 MB / 1.01 GB Notification: Performance of Templates: time 0.09835/1.093, allocations: 44.76 MB / 1.177 GB, free: 125.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 10.410267565981485]