Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.002031/0.002031, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.396/1.396, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.515/2.515, allocations: 437 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 67.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8908, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03629/0.9272, allocations: 33.34 MB / 1.2 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02378/0.951, allocations: 14.82 MB / 1.214 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.9555, allocations: 151.2 kB / 1.214 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009671/0.9652, allocations: 3.663 MB / 1.218 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.9746, allocations: 2.996 MB / 1.221 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006719/0.9813, allocations: 2.329 MB / 1.223 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.9938, allocations: 8.838 MB / 1.232 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/1.009, allocations: 9.575 MB / 1.241 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007263/1.016, allocations: 4.012 MB / 1.245 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006711/1.023, allocations: 4.034 MB / 1.249 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002396/1.026, allocations: 0.7188 MB / 1.25 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/1.031, allocations: 1.72 MB / 1.251 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00461/1.035, allocations: 2.834 MB / 1.254 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.007094/1.043, allocations: 3.388 MB / 1.258 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/1.057, allocations: 11.21 MB / 1.269 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/1.057, allocations: 4 kB / 1.269 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.367e-06/1.057, allocations: 0 / 1.269 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003853/1.057, allocations: 3.938 kB / 1.269 GB, free: 11.74 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01566/1.073, allocations: 6.132 MB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.073, allocations: 12.88 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007679/1.081, allocations: 1.168 MB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/1.088, allocations: 3.545 MB / 1.279 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/1.089, allocations: 374.4 kB / 1.279 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/1.091, allocations: 0.4883 MB / 1.28 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/1.109, allocations: 7.997 MB / 1.288 GB, free: 7.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003987/1.11, allocations: 19.83 kB / 1.288 GB, free: 7.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/1.112, allocations: 220 kB / 1.288 GB, free: 7.355 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/1.113, allocations: 437.6 kB / 1.288 GB, free: 6.926 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/1.127, allocations: 6.085 MB / 1.294 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/1.173, allocations: 34.96 MB / 1.328 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/1.177, allocations: 2.018 MB / 1.33 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/1.18, allocations: 1.873 MB / 1.332 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.18, allocations: 21.98 kB / 1.332 GB, free: 6.785 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/1.18, allocations: 60.5 kB / 1.332 GB, free: 6.719 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.877e-06/1.18, allocations: 0 / 1.332 GB, free: 6.719 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1598/1.34, allocations: 38.98 MB / 1.37 GB, free: 15.63 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.34, allocations: 77.58 kB / 1.371 GB, free: 15.54 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/1.344, allocations: 2.282 MB / 1.373 GB, free: 13.24 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003484/1.344, allocations: 77.7 kB / 1.373 GB, free: 13.16 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00162/1.346, allocations: 2.334 MB / 1.375 GB, free: 10.81 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009377/1.346, allocations: 0.9759 MB / 1.376 GB, free: 9.824 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/1.348, allocations: 0.5103 MB / 1.377 GB, free: 9.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.348, allocations: 305.1 kB / 1.377 GB, free: 9.004 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.351, allocations: 1.969 MB / 1.379 GB, free: 7.031 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/1.354, allocations: 2.606 MB / 1.381 GB, free: 4.18 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006703/1.361, allocations: 4.937 MB / 1.386 GB, free: 14.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.361, allocations: 8 kB / 1.386 GB, free: 14.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01486/1.376, allocations: 7.767 MB / 1.394 GB, free: 7.121 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.376, allocations: 16 kB / 1.394 GB, free: 7.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.376, allocations: 16.84 kB / 1.394 GB, free: 7.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009557/1.386, allocations: 3.221 MB / 1.397 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.387, allocations: 403.3 kB / 1.397 GB, free: 3.461 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04415/1.431, allocations: 33.89 MB / 1.43 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/1.435, allocations: 163.8 kB / 1.431 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00067/1.435, allocations: 112 kB / 1.431 GB, free: 468 kB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003428/1.439, allocations: 1.791 MB / 1.432 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009315/1.44, allocations: 346.3 kB / 1.433 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/1.455, allocations: 7.368 MB / 1.44 GB, free: 6.867 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.345e-05/1.455, allocations: 11.95 kB / 1.44 GB, free: 6.855 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/1.455, allocations: 0 / 1.44 GB, free: 6.855 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.457, allocations: 0.8228 MB / 1.441 GB, free: 6.012 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009728/1.458, allocations: 44 kB / 1.441 GB, free: 5.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.46, allocations: 136.1 kB / 1.441 GB, free: 5.836 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007503/1.461, allocations: 329.5 kB / 1.441 GB, free: 5.512 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0183/1.479, allocations: 7.981 MB / 1.449 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009744/1.489, allocations: 6.999 MB / 1.456 GB, free: 6.379 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002815/1.492, allocations: 2.271 MB / 1.458 GB, free: 4.094 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002883/1.495, allocations: 1.521 MB / 1.46 GB, free: 2.57 MB / 1.186 GB Notification: Performance of Backend: time 6.11e-07/1.495, allocations: 0 / 1.46 GB, free: 2.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.509, allocations: 5.904 MB / 1.465 GB, free: 12.58 MB / 1.201 GB Notification: Performance of SimCode: time 0.02341/1.532, allocations: 11.44 MB / 1.476 GB, free: 1.137 MB / 1.201 GB Notification: Performance of Templates: time 0.1552/1.687, allocations: 79.9 MB / 1.555 GB, free: 2.059 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches