Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001353/0.001353, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001335/0.001335, allocations: 192.5 kB / 16.25 MB, free: 6.621 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 469.8 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 70.72 kB / 0.908 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01338/0.311, allocations: 10.86 MB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.3246, allocations: 8.71 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.326, allocations: 51.69 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004111/0.3301, allocations: 1.576 MB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004699/0.3348, allocations: 1.397 MB / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3366, allocations: 0.6135 MB / 1.086 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002999/0.3396, allocations: 2.283 MB / 1.088 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.3417, allocations: 1.543 MB / 1.09 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.3434, allocations: 1.004 MB / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.3447, allocations: 1.051 MB / 1.092 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.3449, allocations: 143.9 kB / 1.092 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3464, allocations: 0.7955 MB / 1.093 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.347, allocations: 0.5687 MB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008805/0.3479, allocations: 0.8783 MB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.3508, allocations: 2.589 MB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3508, allocations: 0 / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3508, allocations: 0 / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.3509, allocations: 3.984 kB / 1.097 GB, free: 12.45 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003244/0.3541, allocations: 2.025 MB / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3542, allocations: 8.031 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.3648, allocations: 2.042 MB / 1.101 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.367, allocations: 1.123 MB / 1.102 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.3671, allocations: 90.69 kB / 1.102 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.3673, allocations: 120.1 kB / 1.102 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005476/0.3728, allocations: 2.478 MB / 1.104 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.3729, allocations: 15.84 kB / 1.104 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.3731, allocations: 51.98 kB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.3734, allocations: 130.1 kB / 1.105 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006975/0.3804, allocations: 2.537 MB / 1.107 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.3946, allocations: 10.08 MB / 1.117 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.4007, allocations: 1.952 MB / 1.119 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002697/0.4034, allocations: 0.9699 MB / 1.12 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.4035, allocations: 4.438 kB / 1.12 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.4036, allocations: 39 kB / 1.12 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/0.4036, allocations: 0 / 1.12 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.03075/0.4343, allocations: 8.707 MB / 1.128 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.4344, allocations: 64.06 kB / 1.128 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.4361, allocations: 1.097 MB / 1.129 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.4363, allocations: 45.7 kB / 1.13 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/0.4369, allocations: 0.7379 MB / 1.13 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.4372, allocations: 280 kB / 1.131 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.4376, allocations: 202.4 kB / 1.131 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4377, allocations: 341.9 kB / 1.131 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.4405, allocations: 1.079 MB / 1.132 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/0.4435, allocations: 1.301 MB / 1.133 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005862/0.4494, allocations: 2.382 MB / 1.136 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.4494, allocations: 4 kB / 1.136 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008423/0.4578, allocations: 3.277 MB / 1.139 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4579, allocations: 8 kB / 1.139 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4579, allocations: 12 kB / 1.139 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.4606, allocations: 0.7913 MB / 1.14 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.4623, allocations: 423.2 kB / 1.14 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/0.4792, allocations: 15.93 MB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.4814, allocations: 291.5 kB / 1.156 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4815, allocations: 47.97 kB / 1.156 GB, free: 13.32 MB / 0.92 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.0007567/0.4823, allocations: 401.5 kB / 1.156 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.4826, allocations: 142.3 kB / 1.156 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/0.4911, allocations: 3.198 MB / 1.16 GB, free: 9.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.4912, allocations: 15.94 kB / 1.16 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/0.4912, allocations: 12 kB / 1.16 GB, free: 9.516 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4912, allocations: 3.984 kB / 1.16 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.5019, allocations: 4.908 MB / 1.164 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.5019, allocations: 7.938 kB / 1.164 GB, free: 4.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.5035, allocations: 351.4 kB / 1.165 GB, free: 4.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.5058, allocations: 0.7017 MB / 1.165 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5059, allocations: 35.97 kB / 1.165 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.5221, allocations: 15.53 MB / 1.181 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.5221, allocations: 7.938 kB / 1.181 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007968/0.5301, allocations: 3.05 MB / 1.184 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/0.5309, allocations: 383.1 kB / 1.184 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.5312, allocations: 16 kB / 1.184 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.533, allocations: 295.4 kB / 1.184 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.5333, allocations: 80.5 kB / 1.184 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.5334, allocations: 39.95 kB / 1.184 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00109/0.5345, allocations: 0.7327 MB / 1.185 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.154e-06/0.5345, allocations: 0 / 1.185 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001491/0.536, allocations: 435.9 kB / 1.186 GB, free: 13.59 MB / 0.9512 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.0002615/0.5363, allocations: 131.2 kB / 1.186 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008534/0.5448, allocations: 3.762 MB / 1.189 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5448, allocations: 0 / 1.189 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004889/0.5497, allocations: 2.364 MB / 1.192 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.5519, allocations: 0.522 MB / 1.192 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/0.5597, allocations: 4.073 MB / 1.196 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.561, allocations: 1.388 MB / 1.197 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001551/0.5625, allocations: 379.8 kB / 1.198 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.5629, allocations: 103.4 kB / 1.198 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of SimCode: time 7.52e-07/0.5629, allocations: 0 / 1.198 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of Templates: time 0.04996/0.6129, allocations: 30.43 MB / 1.228 GB, free: 2.574 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches