Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.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.00155/0.00155, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001848/0.001849, allocations: 183 kB / 17.34 MB, free: 5.742 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.91 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9783/0.9797, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008589/0.9884, allocations: 6.727 MB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006114/0.9945, allocations: 3.039 MB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.9955, allocations: 28.03 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.9985, allocations: 0.9442 MB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/1, allocations: 0.5187 MB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/1.002, allocations: 429 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002466/1.004, allocations: 1.222 MB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/1.006, allocations: 0.6692 MB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/1.007, allocations: 478.1 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/1.009, allocations: 0.5145 MB / 1.103 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/1.009, allocations: 68.03 kB / 1.103 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/1.01, allocations: 377.3 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007018/1.011, allocations: 311.4 kB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/1.013, allocations: 447.9 kB / 1.104 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002744/1.015, allocations: 1.211 MB / 1.105 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.015, allocations: 5.25 kB / 1.105 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.475e-06/1.015, allocations: 4 kB / 1.105 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.916e-05/1.015, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003296/1.019, allocations: 1.155 MB / 1.106 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.019, allocations: 9.438 kB / 1.106 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.021, allocations: 234.9 kB / 1.107 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/1.022, allocations: 0.5952 MB / 1.107 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/1.022, allocations: 52.08 kB / 1.107 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.022, allocations: 66.97 kB / 1.107 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/1.024, allocations: 1.083 MB / 1.108 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/1.024, allocations: 11.86 kB / 1.108 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/1.025, allocations: 33.36 kB / 1.108 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/1.025, allocations: 84.27 kB / 1.108 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.026, allocations: 0.7536 MB / 1.109 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006648/1.033, allocations: 5.876 MB / 1.115 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.034, allocations: 0.5581 MB / 1.115 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/1.035, allocations: 324.1 kB / 1.116 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/1.035, allocations: 10.44 kB / 1.116 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.035, allocations: 37.62 kB / 1.116 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/1.035, allocations: 0 / 1.116 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.00436/1.039, allocations: 1.992 MB / 1.118 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/1.039, allocations: 57.86 kB / 1.118 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/1.04, allocations: 0.5493 MB / 1.118 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/1.04, allocations: 36.58 kB / 1.118 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/1.041, allocations: 413.7 kB / 1.119 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.041, allocations: 171.5 kB / 1.119 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.041, allocations: 129 kB / 1.119 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.041, allocations: 377.3 kB / 1.119 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/1.042, allocations: 275 kB / 1.12 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/1.042, allocations: 490.4 kB / 1.12 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.044, allocations: 0.8108 MB / 1.121 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/1.044, allocations: 2.125 kB / 1.121 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00206/1.046, allocations: 1.087 MB / 1.122 GB, free: 176 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.046, allocations: 8.031 kB / 1.122 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.046, allocations: 8.344 kB / 1.122 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008994/1.047, allocations: 285 kB / 1.122 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/1.047, allocations: 124.6 kB / 1.122 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/1.055, allocations: 7.137 MB / 1.129 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/1.055, allocations: 44.06 kB / 1.129 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/1.056, allocations: 30.81 kB / 1.129 GB, free: 9.805 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0005173/1.056, allocations: 253.1 kB / 1.13 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.056, allocations: 70.91 kB / 1.13 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.058, allocations: 0.8928 MB / 1.131 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.058, allocations: 5.156 kB / 1.131 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.058, allocations: 3.344 kB / 1.131 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.058, allocations: 6.984 kB / 1.131 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/1.061, allocations: 1.719 MB / 1.132 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.061, allocations: 1.188 kB / 1.132 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/1.062, allocations: 64.09 kB / 1.132 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008363/1.062, allocations: 266.2 kB / 1.133 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/1.062, allocations: 12.53 kB / 1.133 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007142/1.07, allocations: 7.119 MB / 1.14 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.07, allocations: 2.188 kB / 1.14 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.072, allocations: 0.987 MB / 1.141 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/1.072, allocations: 185.4 kB / 1.141 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/1.072, allocations: 12.94 kB / 1.141 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/1.073, allocations: 34.62 kB / 1.141 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.073, allocations: 46.12 kB / 1.141 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/1.073, allocations: 14.12 kB / 1.141 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005483/1.073, allocations: 385.1 kB / 1.141 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.073, allocations: 1.25 kB / 1.141 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009877/1.074, allocations: 220.7 kB / 1.141 GB, free: 1.09 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001704/1.075, allocations: 120 kB / 1.142 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002232/1.077, allocations: 1.272 MB / 1.143 GB, free: 244 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.077, allocations: 5.531 kB / 1.143 GB, free: 240 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.078, allocations: 0.8977 MB / 1.144 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.079, allocations: 223.9 kB / 1.144 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/1.082, allocations: 1.379 MB / 1.145 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/1.083, allocations: 1.012 MB / 1.146 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.084, allocations: 45.23 kB / 1.146 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 7.51e-07/1.084, allocations: 0 / 1.146 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.03114/1.115, allocations: 20.7 MB / 1.166 GB, free: 5.621 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches