Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001439/0.001439, allocations: 107 kB / 16.41 MB, free: 6.488 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.001949/0.001949, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.46/1.46, 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 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 71.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8519, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004583/0.8565, allocations: 3.256 MB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00326/0.8598, allocations: 2.023 MB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.86, allocations: 4.062 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.861, allocations: 294.7 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.8617, allocations: 238.3 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.8625, allocations: 285 kB / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.8631, allocations: 412.3 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.8636, allocations: 205 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.8639, allocations: 155.9 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.8643, allocations: 202.4 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.8643, allocations: 23.5 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000617/0.865, allocations: 265.7 kB / 1.096 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.8651, allocations: 117.6 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.8653, allocations: 148.2 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.8661, allocations: 497 kB / 1.096 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.8661, allocations: 8.938 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8661, allocations: 0 / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.8661, allocations: 0 / 1.096 GB, free: 0.75 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001065/0.8672, allocations: 0.5906 MB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8673, allocations: 9.312 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.8683, allocations: 124 kB / 1.097 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.8687, allocations: 280.5 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.8687, allocations: 22.61 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.8689, allocations: 43.3 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.8698, allocations: 461.6 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.8698, allocations: 1.094 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.8699, allocations: 7.891 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.87, allocations: 39.27 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.8708, allocations: 369.1 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.8736, allocations: 2.213 MB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.8741, allocations: 262.3 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.8744, allocations: 166 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.8744, allocations: 7.219 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.8745, allocations: 32.19 kB / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.8745, allocations: 0 / 1.101 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002098/0.8766, allocations: 1.058 MB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.8766, allocations: 54.41 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.877, allocations: 258.2 kB / 1.102 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.8771, allocations: 34.64 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.8772, allocations: 190.8 kB / 1.103 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.8773, allocations: 78.2 kB / 1.103 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.8775, allocations: 77.3 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8776, allocations: 332.8 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.878, allocations: 159.6 kB / 1.103 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.8784, allocations: 243.7 kB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.8791, allocations: 412.6 kB / 1.104 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8791, allocations: 0 / 1.104 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001358/0.8805, allocations: 0.603 MB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8805, allocations: 6.766 kB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.8805, allocations: 3.688 kB / 1.104 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/0.8813, allocations: 195.4 kB / 1.105 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.8816, allocations: 63.12 kB / 1.105 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.8848, allocations: 2.502 MB / 1.107 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.8852, allocations: 23.11 kB / 1.107 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.8853, allocations: 20.52 kB / 1.107 GB, free: 9.457 MB / 0.8731 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.000233/0.8855, allocations: 162.7 kB / 1.107 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.8856, allocations: 32.25 kB / 1.107 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.8862, allocations: 352.6 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.8862, allocations: 2.219 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.8862, allocations: 1.734 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8862, allocations: 0.75 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.8874, allocations: 0.817 MB / 1.108 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8874, allocations: 1.469 kB / 1.108 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.8878, allocations: 74.17 kB / 1.108 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8878, allocations: 5.562 kB / 1.108 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.8879, allocations: 8.516 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8879, allocations: 1.594 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8879, allocations: 6.141 kB / 1.109 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.8887, allocations: 0.6046 MB / 1.109 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.8889, allocations: 126.4 kB / 1.109 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.8889, allocations: 12.33 kB / 1.109 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.8892, allocations: 14.33 kB / 1.109 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.8892, allocations: 17.45 kB / 1.109 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.8893, allocations: 9 kB / 1.109 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00024/0.8895, allocations: 187.9 kB / 1.109 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8895, allocations: 3.938 kB / 1.109 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004854/0.89, allocations: 89.75 kB / 1.11 GB, free: 8.043 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.8902, allocations: 114.4 kB / 1.11 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.8912, allocations: 0.5343 MB / 1.11 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.8912, allocations: 4.125 kB / 1.11 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.8915, allocations: 148.7 kB / 1.11 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.892, allocations: 61.41 kB / 1.11 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.8936, allocations: 0.8748 MB / 1.111 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.894, allocations: 0.7935 MB / 1.112 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.8941, allocations: 29.61 kB / 1.112 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8941, allocations: 1.281 kB / 1.112 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of Templates: time 0.009125/0.9033, allocations: 4.567 MB / 1.116 GB, free: 5.957 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches