Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001839/0.001839, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002451/0.002451, allocations: 192.4 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.041/2.041, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 64.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.074, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00523/1.079, allocations: 3.267 MB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003579/1.083, allocations: 2.014 MB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/1.083, allocations: 4 kB / 1.214 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.084, allocations: 294.7 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006739/1.085, allocations: 238.9 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000796/1.086, allocations: 302.1 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006407/1.086, allocations: 402.7 kB / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004797/1.087, allocations: 204.2 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/1.087, allocations: 159.5 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/1.087, allocations: 195.3 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/1.088, allocations: 24 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/1.088, allocations: 267.5 kB / 1.216 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/1.088, allocations: 115.7 kB / 1.216 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/1.088, allocations: 151.2 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008495/1.089, allocations: 496.2 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.089, allocations: 4 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/1.089, allocations: 0 / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.089, allocations: 0 / 1.216 GB, free: 5.547 MB / 0.9356 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.001252/1.091, allocations: 0.5965 MB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.091, allocations: 8.031 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/1.092, allocations: 112.4 kB / 1.217 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/1.092, allocations: 288.4 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.092, allocations: 16.94 kB / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/1.092, allocations: 36.73 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/1.093, allocations: 453 kB / 1.218 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/1.093, allocations: 7.938 kB / 1.218 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/1.093, allocations: 11.98 kB / 1.218 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/1.093, allocations: 40.52 kB / 1.218 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/1.094, allocations: 369.9 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/1.096, allocations: 2.21 MB / 1.22 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/1.097, allocations: 270.3 kB / 1.221 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/1.097, allocations: 160.8 kB / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/1.097, allocations: 0 / 1.221 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.097, allocations: 34.56 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/1.097, allocations: 7.875 kB / 1.221 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001838/1.099, allocations: 1.06 MB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/1.099, allocations: 51.41 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.099, allocations: 260.9 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/1.099, allocations: 29.7 kB / 1.222 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.1, allocations: 187.9 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/1.1, allocations: 82.72 kB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/1.1, allocations: 73.69 kB / 1.222 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.1, allocations: 330.8 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/1.1, allocations: 159.9 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/1.101, allocations: 249.5 kB / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/1.101, allocations: 418.8 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.101, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001222/1.103, allocations: 0.5972 MB / 1.224 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.103, allocations: 8 kB / 1.224 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.103, allocations: 4 kB / 1.224 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007269/1.103, allocations: 184.9 kB / 1.224 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/1.104, allocations: 63.89 kB / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/1.107, allocations: 2.489 MB / 1.227 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/1.107, allocations: 24 kB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/1.107, allocations: 19.98 kB / 1.227 GB, free: 10.04 MB / 0.9512 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.0001765/1.107, allocations: 169.7 kB / 1.227 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/1.107, allocations: 31.59 kB / 1.227 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/1.108, allocations: 357.8 kB / 1.227 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.108, allocations: 0 / 1.227 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.108, allocations: 0 / 1.227 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.108, allocations: 128.8 kB / 1.228 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/1.108, allocations: 8 kB / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/1.108, allocations: 12.09 kB / 1.228 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/1.109, allocations: 15.92 kB / 1.228 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001022/1.11, allocations: 0.4925 MB / 1.228 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007897/1.11, allocations: 0.692 MB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000187/1.111, allocations: 158.4 kB / 1.229 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002295/1.111, allocations: 188.5 kB / 1.229 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of Backend: time 6.71e-07/1.111, allocations: 0 / 1.229 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001461/1.112, allocations: 0.6257 MB / 1.23 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001394/1.114, allocations: 1.188 MB / 1.231 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of Templates: time 0.6652/1.779, allocations: 6.381 MB / 1.237 GB, free: 15.51 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches