Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002396/0.002396, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002766/0.002766, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.012/3.012, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.919e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.05127/0.05129, allocations: 35.15 MB / 0.8452 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02332/0.07461, allocations: 11.76 MB / 0.8566 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.07799, allocations: 210.4 kB / 0.8568 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.09051, allocations: 4.392 MB / 0.8611 GB, free: 14.49 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006901/0.09741, allocations: 2.152 MB / 0.8632 GB, free: 12.32 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.1045, allocations: 2.435 MB / 0.8656 GB, free: 9.883 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.1178, allocations: 8.603 MB / 0.874 GB, free: 1.258 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.1301, allocations: 6.201 MB / 0.8801 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.1421, allocations: 5.45 MB / 0.8854 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00882/0.151, allocations: 4.201 MB / 0.8895 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.002398/0.1534, allocations: 0.7773 MB / 0.8903 GB, free: 496 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005532/0.1589, allocations: 1.93 MB / 0.8921 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.005387/0.1643, allocations: 3.329 MB / 0.8954 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006407/0.1707, allocations: 2.405 MB / 0.8977 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.02376/0.1944, allocations: 12.31 MB / 0.9098 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1944, allocations: 0 / 0.9098 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.275e-06/0.1945, allocations: 0 / 0.9098 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004218/0.1949, allocations: 4 kB / 0.9098 GB, free: 12.46 MB / 0.8698 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.01897/0.2138, allocations: 6.72 MB / 0.9163 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2139, allocations: 12.03 kB / 0.9163 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008423/0.2223, allocations: 1.772 MB / 0.9181 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.2357, allocations: 3.358 MB / 0.9213 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/0.2363, allocations: 411.5 kB / 0.9217 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/0.2387, allocations: 0.551 MB / 0.9223 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.2539, allocations: 6.101 MB / 0.9282 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.2541, allocations: 31.94 kB / 0.9283 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006685/0.2547, allocations: 236.3 kB / 0.9285 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004539/0.2552, allocations: 346.7 kB / 0.9288 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007973/0.2632, allocations: 2.251 MB / 0.931 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/0.3163, allocations: 33.55 MB / 0.9638 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.3193, allocations: 1.294 MB / 0.965 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.3212, allocations: 0.9 MB / 0.9659 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.3213, allocations: 30 kB / 0.9659 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.3214, allocations: 55.39 kB / 0.966 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=179): time 3.777e-06/0.3214, allocations: 0 / 0.966 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of matching and sorting (n=182): time 0.02452/0.3459, allocations: 6.594 MB / 0.9724 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.346, allocations: 73.41 kB / 0.9725 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.3491, allocations: 1.901 MB / 0.9744 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3493, allocations: 53.7 kB / 0.9744 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002546/0.3518, allocations: 2.471 MB / 0.9768 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008958/0.3527, allocations: 0.7287 MB / 0.9775 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009597/0.3537, allocations: 498.1 kB / 0.978 GB, free: 4.805 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.3539, allocations: 480.8 kB / 0.9785 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.3551, allocations: 492.2 kB / 0.9789 GB, free: 3.848 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.3575, allocations: 1.575 MB / 0.9805 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/0.3615, allocations: 2.307 MB / 0.9827 GB, free: 15.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.3615, allocations: 8 kB / 0.9827 GB, free: 15.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007582/0.3691, allocations: 2.929 MB / 0.9856 GB, free: 12.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.3692, allocations: 16.88 kB / 0.9856 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/0.3692, allocations: 24 kB / 0.9856 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004759/0.374, allocations: 1.331 MB / 0.9869 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.3754, allocations: 363.3 kB / 0.9873 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/0.3987, allocations: 13.75 MB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.4005, allocations: 119.9 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/0.4009, allocations: 92 kB / 1.001 GB, free: 11.98 MB / 0.9636 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.001821/0.4027, allocations: 423.9 kB / 1.001 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007102/0.4034, allocations: 286.6 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006664/0.4101, allocations: 2.333 MB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.4101, allocations: 20 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-05/0.4102, allocations: 16 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.4102, allocations: 11.91 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/0.4296, allocations: 7.649 MB / 1.011 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.4296, allocations: 7.938 kB / 1.011 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/0.4306, allocations: 183.7 kB / 1.012 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004358/0.4349, allocations: 1.124 MB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/0.4351, allocations: 32 kB / 1.013 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/0.457, allocations: 12.91 MB / 1.025 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.4571, allocations: 4 kB / 1.025 GB, free: 2.297 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006928/0.464, allocations: 2.612 MB / 1.028 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.4656, allocations: 434.4 kB / 1.028 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/0.4661, allocations: 32 kB / 1.028 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.4673, allocations: 87.89 kB / 1.028 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006592/0.468, allocations: 177.5 kB / 1.029 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.4681, allocations: 44 kB / 1.029 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001992/0.4701, allocations: 1.052 MB / 1.03 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4701, allocations: 0 / 1.03 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004029/0.4741, allocations: 1 MB / 1.031 GB, free: 12.76 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 (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.0003126/0.4744, allocations: 147 kB / 1.031 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007061/0.4815, allocations: 3.283 MB / 1.034 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.4815, allocations: 4 kB / 1.034 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004917/0.4864, allocations: 2.349 MB / 1.036 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/0.4907, allocations: 0.7623 MB / 1.037 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/0.5089, allocations: 7.992 MB / 1.045 GB, free: 13.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005504/0.5144, allocations: 2.691 MB / 1.047 GB, free: 11.22 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001566/0.5159, allocations: 379.1 kB / 1.048 GB, free: 10.85 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.5164, allocations: 112.5 kB / 1.048 GB, free: 10.74 MB / 1.01 GB Notification: Performance of SimCode: time 2.074e-06/0.5164, allocations: 4 kB / 1.048 GB, free: 10.73 MB / 1.01 GB Notification: Performance of Templates: time 0.4063/0.9227, allocations: 44.98 MB / 1.092 GB, free: 249.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.913787855999544]