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.015/0.015, allocations: 101.4 kB / 15.73 MB, free: 6.469 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.002677/0.002677, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.651/1.651, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.603/2.603, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 65.47 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4047, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01535/0.4201, allocations: 10.9 MB / 1.099 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.4348, allocations: 8.799 MB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.4372, allocations: 59.62 kB / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004935/0.4422, allocations: 1.676 MB / 1.109 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00742/0.4496, allocations: 1.53 MB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.4527, allocations: 0.6705 MB / 1.111 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005/0.4578, allocations: 2.281 MB / 1.113 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.4603, allocations: 1.376 MB / 1.115 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.4631, allocations: 1.008 MB / 1.116 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.465, allocations: 1.019 MB / 1.117 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.4653, allocations: 136 kB / 1.117 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.4673, allocations: 0.7994 MB / 1.117 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006489/0.4679, allocations: 0.5764 MB / 1.118 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.469, allocations: 0.8823 MB / 1.119 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.4726, allocations: 2.57 MB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4726, allocations: 0 / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4726, allocations: 3.938 kB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.467e-05/0.4726, allocations: 0 / 1.121 GB, free: 15.06 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.004074/0.4767, allocations: 2.022 MB / 1.123 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.4768, allocations: 8.031 kB / 1.123 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.4882, allocations: 2.05 MB / 1.125 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.4914, allocations: 1.216 MB / 1.127 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.4915, allocations: 86.69 kB / 1.127 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/0.4918, allocations: 120.1 kB / 1.127 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00575/0.4976, allocations: 2.474 MB / 1.129 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.4976, allocations: 8 kB / 1.129 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4978, allocations: 51.98 kB / 1.129 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003568/0.4982, allocations: 130.1 kB / 1.129 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007197/0.5054, allocations: 2.545 MB / 1.132 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.52, allocations: 10.03 MB / 1.142 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006319/0.5263, allocations: 1.956 MB / 1.144 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.5292, allocations: 0.9726 MB / 1.145 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.5293, allocations: 16.36 kB / 1.145 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5293, allocations: 42.98 kB / 1.145 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 2.404e-06/0.5293, allocations: 0 / 1.145 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81): time 0.03429/0.5636, allocations: 8.699 MB / 1.153 GB, free: 13.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.5638, allocations: 64.06 kB / 1.153 GB, free: 13.53 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.5664, allocations: 1.104 MB / 1.154 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.5667, allocations: 45.64 kB / 1.154 GB, free: 12.36 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000727/0.5674, allocations: 0.7341 MB / 1.155 GB, free: 11.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.5679, allocations: 287.9 kB / 1.155 GB, free: 11.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.5683, allocations: 194.4 kB / 1.155 GB, free: 11.13 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003587/0.5687, allocations: 341.9 kB / 1.156 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/0.5721, allocations: 1.079 MB / 1.157 GB, free: 9.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/0.5756, allocations: 1.305 MB / 1.158 GB, free: 8.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006636/0.5822, allocations: 2.382 MB / 1.16 GB, free: 5.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.5823, allocations: 4 kB / 1.16 GB, free: 5.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009449/0.5917, allocations: 3.277 MB / 1.164 GB, free: 2.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.5918, allocations: 9.562 kB / 1.164 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.5918, allocations: 8 kB / 1.164 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.5949, allocations: 0.7872 MB / 1.164 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5969, allocations: 423.2 kB / 1.165 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.6168, allocations: 15.91 MB / 1.18 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.6196, allocations: 291.5 kB / 1.181 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.6198, allocations: 51.95 kB / 1.181 GB, free: 15.9 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.001108/0.6209, allocations: 401.5 kB / 1.181 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.6212, allocations: 142.3 kB / 1.181 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/0.6303, allocations: 3.206 MB / 1.184 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.6304, allocations: 15.88 kB / 1.184 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.6304, allocations: 4 kB / 1.184 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.6304, allocations: 7.984 kB / 1.184 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6425, allocations: 4.905 MB / 1.189 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.6426, allocations: 7.938 kB / 1.189 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.6442, allocations: 351.4 kB / 1.189 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/0.6467, allocations: 0.6938 MB / 1.19 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.6468, allocations: 31.97 kB / 1.19 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.666, allocations: 15.52 MB / 1.205 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6661, allocations: 4.031 kB / 1.205 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/0.6769, allocations: 3.047 MB / 1.208 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/0.6788, allocations: 387.1 kB / 1.209 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.6792, allocations: 16 kB / 1.209 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/0.6819, allocations: 291.4 kB / 1.209 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/0.6824, allocations: 84.48 kB / 1.209 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6826, allocations: 39.97 kB / 1.209 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001632/0.6842, allocations: 0.7366 MB / 1.21 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.6842, allocations: 0 / 1.21 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002634/0.6869, allocations: 432 kB / 1.21 GB, free: 196 kB / 0.9669 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.0004172/0.6873, allocations: 131.7 kB / 1.21 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01281/0.7001, allocations: 3.629 MB / 1.214 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.7002, allocations: 0 / 1.214 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.008706/0.7089, allocations: 2.375 MB / 1.216 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/0.7133, allocations: 0.5251 MB / 1.217 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.7271, allocations: 3.441 MB / 1.22 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/0.7289, allocations: 1.388 MB / 1.221 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002807/0.7318, allocations: 375.9 kB / 1.222 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.7324, allocations: 103.4 kB / 1.222 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of SimCode: time 1.553e-06/0.7324, allocations: 0 / 1.222 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of Templates: time 0.06972/0.8021, allocations: 31.14 MB / 1.252 GB, free: 5.191 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