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.001149/0.001149, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001242/0.001242, allocations: 196.5 kB / 16.25 MB, free: 6.625 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.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.625/2.625, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 59.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9119, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03902/0.9509, allocations: 34.81 MB / 1.051 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.9709, allocations: 9.847 MB / 1.06 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006305/0.9773, allocations: 135.2 kB / 1.061 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.9884, allocations: 3.568 MB / 1.064 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007629/0.996, allocations: 1.886 MB / 1.066 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006711/1.003, allocations: 1.779 MB / 1.068 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0128/1.016, allocations: 7.986 MB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01995/1.036, allocations: 11.72 MB / 1.087 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006923/1.043, allocations: 3.423 MB / 1.09 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007302/1.05, allocations: 3.906 MB / 1.094 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002603/1.053, allocations: 0.6797 MB / 1.095 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/1.058, allocations: 1.447 MB / 1.096 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004504/1.062, allocations: 2.62 MB / 1.099 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007245/1.07, allocations: 3.097 MB / 1.102 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/1.085, allocations: 10.4 MB / 1.112 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/1.085, allocations: 0 / 1.112 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.596e-06/1.085, allocations: 0 / 1.112 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005723/1.086, allocations: 0 / 1.112 GB, free: 1.074 MB / 0.8575 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.01717/1.103, allocations: 5.397 MB / 1.117 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.103, allocations: 12.03 kB / 1.117 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/1.109, allocations: 0.9626 MB / 1.118 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006857/1.115, allocations: 2.995 MB / 1.121 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/1.116, allocations: 357.9 kB / 1.121 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/1.117, allocations: 468.3 kB / 1.122 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/1.138, allocations: 7.906 MB / 1.129 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002274/1.138, allocations: 23.72 kB / 1.129 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001537/1.139, allocations: 212 kB / 1.13 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006439/1.14, allocations: 365.1 kB / 1.13 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/1.154, allocations: 5.941 MB / 1.136 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04653/1.201, allocations: 36.21 MB / 1.171 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/1.205, allocations: 2.127 MB / 1.173 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/1.207, allocations: 1.484 MB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/1.207, allocations: 21.3 kB / 1.175 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/1.207, allocations: 59.81 kB / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=157): time 5.009e-06/1.207, allocations: 0 / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=160): time 0.01639/1.224, allocations: 7.529 MB / 1.182 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/1.224, allocations: 68.72 kB / 1.182 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004379/1.228, allocations: 1.864 MB / 1.184 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/1.228, allocations: 53.7 kB / 1.184 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.23, allocations: 2.127 MB / 1.186 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/1.231, allocations: 0.5545 MB / 1.187 GB, free: 248 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000795/1.232, allocations: 415.6 kB / 1.187 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.232, allocations: 309.1 kB / 1.187 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.233, allocations: 1.055 MB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/1.236, allocations: 1.756 MB / 1.19 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/1.24, allocations: 3.052 MB / 1.193 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.24, allocations: 8 kB / 1.193 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006918/1.247, allocations: 3.921 MB / 1.197 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/1.247, allocations: 16 kB / 1.197 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/1.247, allocations: 24 kB / 1.197 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/1.249, allocations: 0.9392 MB / 1.198 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/1.251, allocations: 431.2 kB / 1.198 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/1.272, allocations: 22.77 MB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/1.275, allocations: 123.9 kB / 1.221 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.275, allocations: 95.98 kB / 1.221 GB, free: 10.95 MB / 0.9825 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.003101/1.278, allocations: 1.653 MB / 1.222 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/1.279, allocations: 253.1 kB / 1.223 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/1.285, allocations: 3.256 MB / 1.226 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.285, allocations: 16 kB / 1.226 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.285, allocations: 12 kB / 1.226 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.285, allocations: 7.969 kB / 1.226 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.298, allocations: 7.564 MB / 1.233 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.298, allocations: 4 kB / 1.233 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/1.299, allocations: 219.6 kB / 1.233 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/1.301, allocations: 0.8961 MB / 1.234 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/1.301, allocations: 36 kB / 1.234 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7128/2.014, allocations: 22.72 MB / 1.257 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/2.014, allocations: 11.28 kB / 1.257 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00698/2.021, allocations: 3.381 MB / 1.26 GB, free: 200 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/2.023, allocations: 0.5262 MB / 1.26 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/2.023, allocations: 34.86 kB / 1.26 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/2.024, allocations: 90.66 kB / 1.26 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005451/2.025, allocations: 145.3 kB / 1.261 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/2.025, allocations: 45.02 kB / 1.261 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002136/2.027, allocations: 1.222 MB / 1.262 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/2.027, allocations: 1.188 kB / 1.262 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003856/2.031, allocations: 0.9072 MB / 1.263 GB, free: 199.1 MB / 0.9981 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.0003499/2.031, allocations: 164.1 kB / 1.263 GB, free: 199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009106/2.04, allocations: 5.197 MB / 1.268 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/2.04, allocations: 1.406 kB / 1.268 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/2.045, allocations: 2.995 MB / 1.271 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/2.049, allocations: 0.8255 MB / 1.272 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/2.064, allocations: 9.702 MB / 1.281 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003315/2.067, allocations: 3.208 MB / 1.284 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002252/2.069, allocations: 0.5345 MB / 1.285 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/2.07, allocations: 144.2 kB / 1.285 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/2.07, allocations: 0 / 1.285 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06855/2.138, allocations: 43.17 MB / 1.327 GB, free: 154.8 MB / 0.9981 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=480 -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/jenkins/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