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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.00128/0.00128, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.0012/0.0012, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.668/2.668, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.27 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8851/0.887, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00523/0.8923, allocations: 3.258 MB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.8961, allocations: 2.013 MB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.8963, allocations: 5.469 kB / 1.088 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.8973, allocations: 297.1 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006659/0.898, allocations: 231 kB / 1.089 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.8989, allocations: 302.3 kB / 1.089 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.8995, allocations: 399.5 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.8999, allocations: 206.2 kB / 1.089 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.9002, allocations: 158.1 kB / 1.09 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003891/0.9006, allocations: 195 kB / 1.09 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.9006, allocations: 27.25 kB / 1.09 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005657/0.9012, allocations: 269.6 kB / 1.09 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.9014, allocations: 116.5 kB / 1.09 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.9016, allocations: 152.6 kB / 1.09 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.9023, allocations: 487.8 kB / 1.091 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9023, allocations: 0 / 1.091 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9023, allocations: 0 / 1.091 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9023, allocations: 0 / 1.091 GB, free: 12.87 MB / 0.8419 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.001241/0.9036, allocations: 0.6021 MB / 1.091 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.9036, allocations: 9.219 kB / 1.091 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.9047, allocations: 124.3 kB / 1.092 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.9051, allocations: 279.1 kB / 1.092 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.9051, allocations: 14 kB / 1.092 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.9053, allocations: 36.05 kB / 1.092 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.9061, allocations: 457.4 kB / 1.092 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.9061, allocations: 4.625 kB / 1.092 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.9062, allocations: 7.625 kB / 1.092 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.9063, allocations: 40.47 kB / 1.092 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.907, allocations: 373.2 kB / 1.093 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.91, allocations: 2.218 MB / 1.095 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.9105, allocations: 267.6 kB / 1.095 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.9108, allocations: 160.3 kB / 1.095 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.9108, allocations: 7.625 kB / 1.095 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.9109, allocations: 35.62 kB / 1.095 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.9109, allocations: 0 / 1.095 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.001988/0.9129, allocations: 1.055 MB / 1.096 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.9129, allocations: 54 kB / 1.096 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.9133, allocations: 257.9 kB / 1.097 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.9133, allocations: 30.86 kB / 1.097 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.9135, allocations: 187.5 kB / 1.097 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.9136, allocations: 86.34 kB / 1.097 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.9137, allocations: 73.91 kB / 1.097 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9139, allocations: 341 kB / 1.097 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.9142, allocations: 158.1 kB / 1.097 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.9146, allocations: 247.7 kB / 1.098 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.9152, allocations: 404.4 kB / 1.098 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9153, allocations: 1.375 kB / 1.098 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001307/0.9166, allocations: 0.6045 MB / 1.099 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9166, allocations: 5.406 kB / 1.099 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.9166, allocations: 6.688 kB / 1.099 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/0.9173, allocations: 196.3 kB / 1.099 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.9177, allocations: 62.83 kB / 1.099 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.921, allocations: 2.494 MB / 1.101 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.9214, allocations: 31.64 kB / 1.101 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.9215, allocations: 12.48 kB / 1.101 GB, free: 5.57 MB / 0.8419 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.0002346/0.9217, allocations: 171.5 kB / 1.102 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.9218, allocations: 27.7 kB / 1.102 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006291/0.9224, allocations: 355.8 kB / 1.102 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9224, allocations: 2.719 kB / 1.102 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.9224, allocations: 1.438 kB / 1.102 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.9225, allocations: 2.031 kB / 1.102 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.9237, allocations: 0.8174 MB / 1.103 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9237, allocations: 6.109 kB / 1.103 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.9241, allocations: 74.06 kB / 1.103 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9241, allocations: 1.25 kB / 1.103 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.9242, allocations: 7.766 kB / 1.103 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.9242, allocations: 2.922 kB / 1.103 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9242, allocations: 0 / 1.103 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.925, allocations: 0.6139 MB / 1.103 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.9252, allocations: 129.8 kB / 1.104 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.9252, allocations: 8.078 kB / 1.104 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.9255, allocations: 11.45 kB / 1.104 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.9255, allocations: 20.77 kB / 1.104 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.9256, allocations: 5.766 kB / 1.104 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002603/0.9258, allocations: 187.4 kB / 1.104 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9258, allocations: 4 kB / 1.104 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004848/0.9263, allocations: 90.5 kB / 1.104 GB, free: 4.148 MB / 0.8419 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.0002082/0.9265, allocations: 110.4 kB / 1.104 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.9277, allocations: 0.5694 MB / 1.105 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9277, allocations: 0 / 1.105 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.928, allocations: 150.9 kB / 1.105 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.9284, allocations: 55.97 kB / 1.105 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.9301, allocations: 0.8854 MB / 1.106 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.9306, allocations: 0.7967 MB / 1.106 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.9307, allocations: 28.03 kB / 1.106 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.9307, allocations: 4 kB / 1.106 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.009172/0.9399, allocations: 4.535 MB / 1.111 GB, free: 2.074 MB / 0.8419 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=400 -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