Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01355/0.01355, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.002426/0.002426, allocations: 197 kB / 16.67 MB, free: 5.973 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.689/1.689, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.661/2.661, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.09 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3996, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01493/0.4146, allocations: 10.9 MB / 1.099 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01567/0.4304, allocations: 8.796 MB / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.4324, allocations: 51.69 kB / 1.107 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.4377, allocations: 1.685 MB / 1.109 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.4437, allocations: 1.561 MB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.4462, allocations: 0.6783 MB / 1.111 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.451, allocations: 2.285 MB / 1.113 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.4537, allocations: 1.376 MB / 1.115 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.4561, allocations: 1.004 MB / 1.116 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.4584, allocations: 1.019 MB / 1.117 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005025/0.4589, allocations: 140 kB / 1.117 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.4612, allocations: 0.8071 MB / 1.118 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009094/0.4621, allocations: 0.5687 MB / 1.118 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.4644, allocations: 0.8823 MB / 1.119 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006512/0.4709, allocations: 2.58 MB / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4709, allocations: 0 / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4709, allocations: 0 / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000152/0.4711, allocations: 0 / 1.121 GB, free: 15.04 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005841/0.4769, allocations: 2.078 MB / 1.123 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.477, allocations: 8.031 kB / 1.123 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.4888, allocations: 2.059 MB / 1.126 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.4923, allocations: 1.225 MB / 1.127 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.4924, allocations: 90.62 kB / 1.127 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.4929, allocations: 120.1 kB / 1.127 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007102/0.5, allocations: 2.467 MB / 1.129 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/0.5001, allocations: 11.94 kB / 1.129 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.5004, allocations: 51.98 kB / 1.129 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003962/0.5008, allocations: 134.1 kB / 1.13 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007928/0.5088, allocations: 2.537 MB / 1.132 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.5273, allocations: 10.06 MB / 1.142 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006816/0.5342, allocations: 1.956 MB / 1.144 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.5372, allocations: 0.9699 MB / 1.145 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.5373, allocations: 4.438 kB / 1.145 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.5373, allocations: 39 kB / 1.145 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 4.899e-06/0.5373, allocations: 0 / 1.145 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81): time 0.03324/0.5706, allocations: 8.741 MB / 1.153 GB, free: 13.47 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.5707, allocations: 60.06 kB / 1.153 GB, free: 13.4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.5726, allocations: 1.105 MB / 1.154 GB, free: 12.28 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.5728, allocations: 41.7 kB / 1.154 GB, free: 12.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006651/0.5735, allocations: 0.7474 MB / 1.155 GB, free: 11.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.5739, allocations: 301.4 kB / 1.155 GB, free: 11.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/0.5744, allocations: 198.5 kB / 1.156 GB, free: 10.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5745, allocations: 337.9 kB / 1.156 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/0.5778, allocations: 1.079 MB / 1.157 GB, free: 9.562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/0.5811, allocations: 1.305 MB / 1.158 GB, free: 8.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/0.5878, allocations: 2.39 MB / 1.161 GB, free: 5.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.5879, allocations: 0 / 1.161 GB, free: 5.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009859/0.5978, allocations: 3.285 MB / 1.164 GB, free: 2.355 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.5979, allocations: 8 kB / 1.164 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.5979, allocations: 8 kB / 1.164 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.601, allocations: 0.7797 MB / 1.165 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.6033, allocations: 423.2 kB / 1.165 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.6212, allocations: 15.93 MB / 1.181 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.6237, allocations: 295.6 kB / 1.181 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.624, allocations: 51.97 kB / 1.181 GB, free: 15.72 MB / 0.9512 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009733/0.625, allocations: 393.4 kB / 1.181 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/0.6254, allocations: 155.1 kB / 1.181 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009187/0.6346, allocations: 3.203 MB / 1.185 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.6346, allocations: 15.92 kB / 1.185 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.849e-05/0.6347, allocations: 8 kB / 1.185 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6347, allocations: 3.984 kB / 1.185 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.6475, allocations: 4.902 MB / 1.189 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6475, allocations: 7.938 kB / 1.189 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.6492, allocations: 355.7 kB / 1.19 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.6518, allocations: 0.6858 MB / 1.19 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.6519, allocations: 31.97 kB / 1.19 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/0.6696, allocations: 15.54 MB / 1.206 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6696, allocations: 4.031 kB / 1.206 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008968/0.6786, allocations: 3.052 MB / 1.209 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.6797, allocations: 388 kB / 1.209 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/0.6802, allocations: 19.98 kB / 1.209 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.6824, allocations: 299.5 kB / 1.209 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.6827, allocations: 76.62 kB / 1.209 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.6828, allocations: 35.97 kB / 1.209 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001359/0.6842, allocations: 0.7366 MB / 1.21 GB, free: 432 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6842, allocations: 8 kB / 1.21 GB, free: 424 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002039/0.6863, allocations: 432 kB / 1.21 GB, free: 15.99 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003046/0.6866, allocations: 127.7 kB / 1.211 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009483/0.6961, allocations: 3.644 MB / 1.214 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.6961, allocations: 0 / 1.214 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/0.7013, allocations: 2.367 MB / 1.216 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.7043, allocations: 0.519 MB / 1.217 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/0.7136, allocations: 3.498 MB / 1.22 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.7155, allocations: 1.388 MB / 1.222 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001666/0.7172, allocations: 379.8 kB / 1.222 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.7176, allocations: 107.4 kB / 1.222 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of SimCode: time 1.603e-06/0.7176, allocations: 0 / 1.222 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.05745/0.7751, allocations: 30.5 MB / 1.252 GB, free: 5.582 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches