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.01069/0.01069, allocations: 99.47 kB / 15.73 MB, free: 6.023 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.002512/0.002512, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.671/2.671, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.78 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008442/0.3764, allocations: 6.73 MB / 1.095 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005253/0.3817, allocations: 3.036 MB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006947/0.3824, allocations: 27.81 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.385, allocations: 0.9415 MB / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.3867, allocations: 0.5051 MB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.388, allocations: 423 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.3896, allocations: 1.217 MB / 1.1 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009649/0.3906, allocations: 0.6739 MB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.3913, allocations: 474.3 kB / 1.102 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.3919, allocations: 0.5176 MB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.713e-05/0.392, allocations: 68 kB / 1.102 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008324/0.3928, allocations: 383.2 kB / 1.103 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.3932, allocations: 311.2 kB / 1.103 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.3936, allocations: 441.8 kB / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.395, allocations: 1.211 MB / 1.104 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.395, allocations: 4 kB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/0.395, allocations: 0 / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.395, allocations: 0 / 1.104 GB, free: 0.5 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00193/0.397, allocations: 1.168 MB / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.397, allocations: 8.031 kB / 1.106 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.3985, allocations: 235.7 kB / 1.106 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.3995, allocations: 0.5881 MB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.3996, allocations: 53.67 kB / 1.106 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3997, allocations: 64.3 kB / 1.107 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4011, allocations: 1.089 MB / 1.108 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.4012, allocations: 11.84 kB / 1.108 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.4013, allocations: 31.98 kB / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.4014, allocations: 85.25 kB / 1.108 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.4025, allocations: 0.7465 MB / 1.108 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005332/0.4078, allocations: 5.87 MB / 1.114 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.4089, allocations: 0.5733 MB / 1.115 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.4093, allocations: 326 kB / 1.115 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.4093, allocations: 8.438 kB / 1.115 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4094, allocations: 39 kB / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.4094, allocations: 0 / 1.115 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003785/0.4132, allocations: 1.982 MB / 1.117 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4132, allocations: 67.78 kB / 1.117 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.4139, allocations: 0.547 MB / 1.118 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.4139, allocations: 33.7 kB / 1.118 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.4142, allocations: 410.9 kB / 1.118 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.4143, allocations: 173.6 kB / 1.118 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.4145, allocations: 126.5 kB / 1.118 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4147, allocations: 374.7 kB / 1.119 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.4151, allocations: 273.8 kB / 1.119 GB, free: 0.8672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.4156, allocations: 0.4892 MB / 1.119 GB, free: 288 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.4166, allocations: 0.8094 MB / 1.12 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4166, allocations: 4 kB / 1.12 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001674/0.4183, allocations: 1.091 MB / 1.121 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4183, allocations: 8 kB / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4183, allocations: 8 kB / 1.121 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/0.4192, allocations: 279.5 kB / 1.122 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.4196, allocations: 127.8 kB / 1.122 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.4259, allocations: 7.13 MB / 1.129 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.4266, allocations: 35.95 kB / 1.129 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.4267, allocations: 32 kB / 1.129 GB, free: 6.074 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.0003996/0.4271, allocations: 253.6 kB / 1.129 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.4272, allocations: 75.16 kB / 1.129 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.4287, allocations: 0.8884 MB / 1.13 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4287, allocations: 11.94 kB / 1.13 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4287, allocations: 8 kB / 1.13 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4287, allocations: 3.984 kB / 1.13 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.4313, allocations: 1.716 MB / 1.132 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4313, allocations: 4 kB / 1.132 GB, free: 3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.4315, allocations: 67.81 kB / 1.132 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000703/0.4322, allocations: 267.5 kB / 1.132 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.4323, allocations: 8 kB / 1.132 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006148/0.4384, allocations: 7.118 MB / 1.139 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4385, allocations: 4.031 kB / 1.139 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.4401, allocations: 0.9875 MB / 1.14 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.4404, allocations: 188.3 kB / 1.14 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.4405, allocations: 8 kB / 1.14 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.4409, allocations: 31.91 kB / 1.14 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.441, allocations: 47.88 kB / 1.14 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.4411, allocations: 16 kB / 1.14 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004383/0.4415, allocations: 379.1 kB / 1.14 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4415, allocations: 4 kB / 1.14 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008339/0.4424, allocations: 228 kB / 1.141 GB, free: 9.043 MB / 0.9044 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.0001747/0.4425, allocations: 111.7 kB / 1.141 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.4445, allocations: 1.275 MB / 1.142 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4445, allocations: 0 / 1.142 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4457, allocations: 0.8974 MB / 1.143 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.4467, allocations: 227.2 kB / 1.143 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.449, allocations: 1.31 MB / 1.144 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4496, allocations: 1.009 MB / 1.145 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.45, allocations: 126 kB / 1.146 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4501, allocations: 39.44 kB / 1.146 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of SimCode: time 9.32e-07/0.4501, allocations: 3.938 kB / 1.146 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of Templates: time 0.02183/0.4719, allocations: 11.53 MB / 1.157 GB, free: 8.457 MB / 0.92 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/jenkins/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