Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001093/0.001093, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008143/0.008143, allocations: 172 kB / 16.26 MB, free: 6.613 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.541/1.541, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.969/2.969, allocations: 462.6 MB / 0.7363 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 9.188 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3787, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006982/0.3858, allocations: 6.309 MB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004984/0.3908, allocations: 3.013 MB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.3917, allocations: 23.81 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.3922, allocations: 134.9 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.3937, allocations: 481.6 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3948, allocations: 386.2 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.3965, allocations: 1.587 MB / 1.07 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.3986, allocations: 1.008 MB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007522/0.3994, allocations: 398.3 kB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.4001, allocations: 494 kB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.695e-05/0.4002, allocations: 40 kB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.4015, allocations: 439.1 kB / 1.073 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.4019, allocations: 271.2 kB / 1.073 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.4025, allocations: 427.5 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.4047, allocations: 1.187 MB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4047, allocations: 0 / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4047, allocations: 0 / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.4047, allocations: 0 / 1.074 GB, free: 4.738 MB / 0.8262 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.002646/0.4074, allocations: 1.009 MB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.4075, allocations: 11.97 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.4101, allocations: 243.5 kB / 1.076 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.4115, allocations: 0.5413 MB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.4116, allocations: 53.67 kB / 1.076 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.4118, allocations: 60.36 kB / 1.076 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.4144, allocations: 1.085 MB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.4145, allocations: 3.938 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.4146, allocations: 35.98 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002602/0.4149, allocations: 89.25 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.417, allocations: 0.7465 MB / 1.078 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00881/0.4258, allocations: 5.897 MB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.4277, allocations: 0.5581 MB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.4285, allocations: 322 kB / 1.085 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.4286, allocations: 8.438 kB / 1.085 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.4286, allocations: 42.98 kB / 1.085 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 6.091e-06/0.4287, allocations: 3.984 kB / 1.085 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.007334/0.436, allocations: 1.994 MB / 1.087 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.4361, allocations: 59.78 kB / 1.087 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.4374, allocations: 0.5585 MB / 1.087 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.4375, allocations: 37.7 kB / 1.087 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.438, allocations: 418.9 kB / 1.088 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.4383, allocations: 169.6 kB / 1.088 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4384, allocations: 57.69 kB / 1.088 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002458/0.4387, allocations: 374.7 kB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.4395, allocations: 285.8 kB / 1.089 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.4406, allocations: 496.9 kB / 1.089 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.4426, allocations: 0.8016 MB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4426, allocations: 4 kB / 1.09 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003659/0.4463, allocations: 1.083 MB / 1.091 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.4463, allocations: 8 kB / 1.091 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.4464, allocations: 4 kB / 1.091 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.448, allocations: 283.7 kB / 1.091 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.4489, allocations: 123.8 kB / 1.091 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.4603, allocations: 6.61 MB / 1.098 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4617, allocations: 35.97 kB / 1.098 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.4618, allocations: 31.98 kB / 1.098 GB, free: 11.1 MB / 0.8575 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.0007162/0.4625, allocations: 261.4 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.4627, allocations: 67.25 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.4659, allocations: 0.8963 MB / 1.099 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4659, allocations: 8.031 kB / 1.099 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.466, allocations: 4 kB / 1.099 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.466, allocations: 0 / 1.099 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.471, allocations: 1.713 MB / 1.101 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.4711, allocations: 12.31 kB / 1.101 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.4717, allocations: 63.89 kB / 1.101 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.4733, allocations: 271.1 kB / 1.101 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.4734, allocations: 8 kB / 1.101 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.4851, allocations: 6.583 MB / 1.108 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.4852, allocations: 4 kB / 1.108 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.4883, allocations: 0.9917 MB / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.4889, allocations: 196.2 kB / 1.109 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.4891, allocations: 11.94 kB / 1.109 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.4898, allocations: 27.97 kB / 1.109 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.4901, allocations: 47.88 kB / 1.109 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.4901, allocations: 16 kB / 1.109 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008625/0.491, allocations: 379.1 kB / 1.109 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.51e-07/0.491, allocations: 4 kB / 1.109 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001505/0.4926, allocations: 224 kB / 1.109 GB, free: 14.62 MB / 0.8731 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.0002654/0.4928, allocations: 123.1 kB / 1.109 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003695/0.4966, allocations: 1.268 MB / 1.111 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4966, allocations: 0 / 1.111 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.4988, allocations: 0.8933 MB / 1.112 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.5012, allocations: 201.7 kB / 1.112 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.5054, allocations: 1.656 MB / 1.113 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.5064, allocations: 1.009 MB / 1.114 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009565/0.5074, allocations: 122 kB / 1.114 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.5076, allocations: 43.44 kB / 1.115 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/0.5077, allocations: 0 / 1.115 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of Templates: time 0.02797/0.5356, allocations: 10.61 MB / 1.125 GB, free: 14.63 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches