Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 113.3 kB / 16.42 MB, free: 6.477 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.001626/0.001626, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.486/1.486, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001583, allocations: 67.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006103/1.058, allocations: 3.274 MB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004063/1.063, allocations: 2.003 MB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/1.063, allocations: 11.88 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/1.064, allocations: 282.9 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000804/1.065, allocations: 242.9 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/1.066, allocations: 288.4 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/1.067, allocations: 410.7 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/1.067, allocations: 204.2 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/1.068, allocations: 163.5 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/1.068, allocations: 199.3 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/1.068, allocations: 24 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006055/1.069, allocations: 259.5 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/1.069, allocations: 123.6 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/1.069, allocations: 155.2 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/1.07, allocations: 486.9 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.07, allocations: 0 / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/1.07, allocations: 0 / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.592e-05/1.07, allocations: 0 / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00144/1.072, allocations: 0.6114 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.072, allocations: 8.922 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/1.073, allocations: 124.6 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/1.073, allocations: 284.5 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/1.073, allocations: 16.94 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.073, allocations: 44.67 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/1.074, allocations: 453 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.074, allocations: 0 / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/1.074, allocations: 12 kB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/1.074, allocations: 40.53 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/1.075, allocations: 361.9 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/1.078, allocations: 2.226 MB / 1.179 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/1.078, allocations: 266.4 kB / 1.179 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/1.079, allocations: 165.8 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/1.079, allocations: 4 kB / 1.18 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.079, allocations: 34.56 kB / 1.18 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/1.079, allocations: 4 kB / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002008/1.081, allocations: 1.054 MB / 1.181 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/1.081, allocations: 51.41 kB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.081, allocations: 265 kB / 1.181 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/1.081, allocations: 29.7 kB / 1.181 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.081, allocations: 196.3 kB / 1.181 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/1.082, allocations: 87.27 kB / 1.181 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1.082, allocations: 77.64 kB / 1.181 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.082, allocations: 334.8 kB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/1.082, allocations: 155.9 kB / 1.182 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/1.083, allocations: 245.5 kB / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/1.083, allocations: 419.4 kB / 1.182 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.083, allocations: 0 / 1.182 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001259/1.084, allocations: 0.6082 MB / 1.183 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.084, allocations: 4 kB / 1.183 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.084, allocations: 4 kB / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007325/1.085, allocations: 184.8 kB / 1.183 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/1.086, allocations: 67.89 kB / 1.183 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/1.089, allocations: 2.492 MB / 1.186 GB, free: 236 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/1.089, allocations: 28 kB / 1.186 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/1.089, allocations: 16 kB / 1.186 GB, free: 192 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002214/1.089, allocations: 169.8 kB / 1.186 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.089, allocations: 27.84 kB / 1.186 GB, free: 15.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/1.09, allocations: 347.5 kB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.09, allocations: 3.984 kB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.09, allocations: 0 / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/1.09, allocations: 136.9 kB / 1.186 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/1.09, allocations: 11.94 kB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/1.091, allocations: 16.08 kB / 1.186 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/1.091, allocations: 15.92 kB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001002/1.092, allocations: 494.7 kB / 1.187 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008156/1.093, allocations: 0.6978 MB / 1.188 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002338/1.093, allocations: 165.3 kB / 1.188 GB, free: 14.08 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000255/1.093, allocations: 188.5 kB / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of Backend: time 8.71e-07/1.093, allocations: 0 / 1.188 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.095, allocations: 0.6273 MB / 1.189 GB, free: 13.25 MB / 0.92 GB Notification: Performance of SimCode: time 0.001646/1.096, allocations: 1.185 MB / 1.19 GB, free: 12.02 MB / 0.92 GB Notification: Performance of Templates: time 0.01279/1.109, allocations: 6.287 MB / 1.196 GB, free: 5.75 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches