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.007032/0.007031, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001306/0.001306, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.648/2.648, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.5 kB / 0.9508 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3771, allocations: 140.4 MB / 1.088 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009686/0.3868, allocations: 6.734 MB / 1.095 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00608/0.393, allocations: 3.036 MB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.3939, allocations: 27.81 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.3971, allocations: 0.9487 MB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.3991, allocations: 0.5207 MB / 1.099 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.4005, allocations: 429.4 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.4025, allocations: 1.22 MB / 1.101 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.4038, allocations: 0.67 MB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.4049, allocations: 478.2 kB / 1.102 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.4061, allocations: 0.5175 MB / 1.102 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.4063, allocations: 68 kB / 1.102 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.4075, allocations: 383.2 kB / 1.103 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005157/0.408, allocations: 311.2 kB / 1.103 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009127/0.409, allocations: 445.8 kB / 1.103 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.4111, allocations: 1.207 MB / 1.104 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.4111, allocations: 4 kB / 1.104 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4111, allocations: 0 / 1.104 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.082e-05/0.4112, allocations: 0 / 1.104 GB, free: 0.6367 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.002982/0.4142, allocations: 1.168 MB / 1.106 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.4142, allocations: 12.03 kB / 1.106 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.4159, allocations: 227.7 kB / 1.106 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.4169, allocations: 0.5882 MB / 1.106 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.417, allocations: 53.67 kB / 1.106 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4171, allocations: 60.36 kB / 1.107 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.4185, allocations: 1.093 MB / 1.108 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.4186, allocations: 7.891 kB / 1.108 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.4186, allocations: 35.92 kB / 1.108 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.4188, allocations: 81.27 kB / 1.108 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.4199, allocations: 0.7504 MB / 1.108 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.4253, allocations: 5.874 MB / 1.114 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.4262, allocations: 0.5645 MB / 1.115 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.4266, allocations: 326 kB / 1.115 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.4267, allocations: 4.438 kB / 1.115 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.4267, allocations: 39 kB / 1.115 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.4267, allocations: 0 / 1.115 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003672/0.4304, allocations: 1.99 MB / 1.117 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.4305, allocations: 55.84 kB / 1.117 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.4311, allocations: 0.547 MB / 1.118 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4311, allocations: 37.69 kB / 1.118 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4314, allocations: 410.9 kB / 1.118 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.4315, allocations: 177.6 kB / 1.118 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4317, allocations: 126.5 kB / 1.118 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4319, allocations: 374.7 kB / 1.119 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.4323, allocations: 277.8 kB / 1.119 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.4329, allocations: 493 kB / 1.119 GB, free: 436 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.4339, allocations: 0.8055 MB / 1.12 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4339, allocations: 4 kB / 1.12 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001695/0.4356, allocations: 1.098 MB / 1.121 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4356, allocations: 10.59 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4356, allocations: 8 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008311/0.4365, allocations: 279.1 kB / 1.122 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.4369, allocations: 131.7 kB / 1.122 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/0.4431, allocations: 7.126 MB / 1.129 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.4438, allocations: 36.02 kB / 1.129 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.4438, allocations: 36 kB / 1.129 GB, free: 6.211 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.0003802/0.4442, allocations: 245.5 kB / 1.129 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.4443, allocations: 75.16 kB / 1.129 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.4458, allocations: 0.8962 MB / 1.13 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4458, allocations: 4 kB / 1.13 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4458, allocations: 4.188 kB / 1.13 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4459, allocations: 7.984 kB / 1.13 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.4483, allocations: 1.72 MB / 1.132 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4483, allocations: 0 / 1.132 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.4486, allocations: 64.02 kB / 1.132 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007104/0.4493, allocations: 279.1 kB / 1.132 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.4494, allocations: 11.98 kB / 1.132 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/0.4554, allocations: 7.107 MB / 1.139 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4554, allocations: 8.062 kB / 1.139 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.457, allocations: 0.9873 MB / 1.14 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.4573, allocations: 188.3 kB / 1.14 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.4574, allocations: 8 kB / 1.14 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.4578, allocations: 31.91 kB / 1.14 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4579, allocations: 51.88 kB / 1.14 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.4579, allocations: 12 kB / 1.14 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004496/0.4584, allocations: 383.1 kB / 1.141 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4584, allocations: 3.938 kB / 1.141 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009221/0.4593, allocations: 224 kB / 1.141 GB, free: 9.184 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.0002081/0.4595, allocations: 119.7 kB / 1.141 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.4615, allocations: 1.264 MB / 1.142 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4615, allocations: 0 / 1.142 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.4627, allocations: 0.9013 MB / 1.143 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.4636, allocations: 229.3 kB / 1.143 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.4659, allocations: 1.317 MB / 1.144 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.4665, allocations: 1.005 MB / 1.145 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003657/0.4668, allocations: 129.9 kB / 1.146 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.467, allocations: 43.44 kB / 1.146 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of SimCode: time 8.52e-07/0.467, allocations: 0 / 1.146 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of Templates: time 0.02231/0.4893, allocations: 11.3 MB / 1.157 GB, free: 8.824 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