Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 104.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.803/2.803, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 68.48 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04123/0.3594, allocations: 35.13 MB / 1.052 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.3766, allocations: 9.941 MB / 1.062 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.3793, allocations: 151.2 kB / 1.062 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.3894, allocations: 3.791 MB / 1.066 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.3956, allocations: 2.044 MB / 1.068 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006121/0.4017, allocations: 1.962 MB / 1.07 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5111/0.9129, allocations: 7.958 MB / 1.078 GB, free: 20.51 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01438/0.9273, allocations: 9.6 MB / 1.087 GB, free: 18.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/0.9338, allocations: 3.359 MB / 1.09 GB, free: 18.56 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007317/0.9411, allocations: 3.737 MB / 1.094 GB, free: 18.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002924/0.9441, allocations: 0.6792 MB / 1.095 GB, free: 18.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.9497, allocations: 1.442 MB / 1.096 GB, free: 18.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005249/0.955, allocations: 2.619 MB / 1.098 GB, free: 17.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008321/0.9633, allocations: 3.107 MB / 1.102 GB, free: 17.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.9804, allocations: 10.31 MB / 1.112 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.9804, allocations: 4 kB / 1.112 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9804, allocations: 0 / 1.112 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003265/0.9808, allocations: 0 / 1.112 GB, free: 15.61 MB / 0.8419 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.01879/0.9996, allocations: 5.407 MB / 1.117 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.9996, allocations: 11.17 kB / 1.117 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007305/1.007, allocations: 0.9633 MB / 1.118 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007601/1.015, allocations: 2.996 MB / 1.121 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004168/1.015, allocations: 358.3 kB / 1.121 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002584/1.018, allocations: 464.6 kB / 1.122 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/1.039, allocations: 7.915 MB / 1.129 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/1.039, allocations: 27.31 kB / 1.129 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/1.04, allocations: 207.8 kB / 1.129 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005904/1.041, allocations: 363.2 kB / 1.13 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/1.054, allocations: 5.938 MB / 1.136 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05822/1.112, allocations: 36.21 MB / 1.171 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/1.117, allocations: 2.143 MB / 1.173 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/1.119, allocations: 1.48 MB / 1.175 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/1.12, allocations: 23.97 kB / 1.175 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.715e-05/1.12, allocations: 55.16 kB / 1.175 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 4.548e-06/1.12, allocations: 0 / 1.175 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.01829/1.138, allocations: 7.535 MB / 1.182 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/1.138, allocations: 68.72 kB / 1.182 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/1.142, allocations: 1.864 MB / 1.184 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003943/1.142, allocations: 57.7 kB / 1.184 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/1.144, allocations: 2.124 MB / 1.186 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009541/1.145, allocations: 0.5574 MB / 1.187 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.146, allocations: 399.7 kB / 1.187 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.147, allocations: 309.1 kB / 1.187 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.149, allocations: 1.058 MB / 1.188 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/1.151, allocations: 1.762 MB / 1.19 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004708/1.156, allocations: 3.048 MB / 1.193 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/1.156, allocations: 8 kB / 1.193 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008207/1.164, allocations: 3.918 MB / 1.197 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/1.164, allocations: 16 kB / 1.197 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/1.165, allocations: 23.75 kB / 1.197 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/1.167, allocations: 0.937 MB / 1.198 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/1.169, allocations: 437.5 kB / 1.198 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02619/1.196, allocations: 22.78 MB / 1.22 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/1.198, allocations: 127.9 kB / 1.22 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004981/1.199, allocations: 92 kB / 1.221 GB, free: 14.51 MB / 0.9356 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.004084/1.203, allocations: 1.649 MB / 1.222 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009262/1.204, allocations: 253 kB / 1.222 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007081/1.211, allocations: 3.264 MB / 1.226 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/1.211, allocations: 16 kB / 1.226 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.886e-05/1.211, allocations: 12 kB / 1.226 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.211, allocations: 10.88 kB / 1.226 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.23, allocations: 7.552 MB / 1.233 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.23, allocations: 4 kB / 1.233 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.231, allocations: 219.6 kB / 1.233 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/1.234, allocations: 0.8897 MB / 1.234 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/1.234, allocations: 32 kB / 1.234 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02545/1.26, allocations: 22.74 MB / 1.256 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/1.26, allocations: 6.062 kB / 1.256 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/1.267, allocations: 3.382 MB / 1.26 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.269, allocations: 0.5332 MB / 1.26 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000867/1.269, allocations: 36.17 kB / 1.26 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.271, allocations: 95.83 kB / 1.26 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/1.272, allocations: 137.4 kB / 1.26 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.272, allocations: 48 kB / 1.26 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002424/1.274, allocations: 1.221 MB / 1.262 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.274, allocations: 0 / 1.262 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004445/1.279, allocations: 0.9062 MB / 1.263 GB, free: 1.77 MB / 0.9669 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.0003902/1.279, allocations: 161.4 kB / 1.263 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009424/1.289, allocations: 5.201 MB / 1.268 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.289, allocations: 4 kB / 1.268 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005207/1.294, allocations: 2.993 MB / 1.271 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005416/1.299, allocations: 0.8134 MB / 1.272 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.32, allocations: 8.32 MB / 1.28 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005386/1.326, allocations: 3.279 MB / 1.283 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/1.327, allocations: 159.4 kB / 1.283 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.327, allocations: 0 / 1.283 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.8922/2.219, allocations: 339.6 MB / 1.615 GB, free: 419.2 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches