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.002116/0.002115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003832/0.003832, allocations: 192 kB / 16.25 MB, free: 6.637 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.468/2.468, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8159, allocations: 140.4 MB / 0.9491 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004839/0.8208, allocations: 3.301 MB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.8238, allocations: 2.008 MB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.824, allocations: 7.031 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009264/0.825, allocations: 272.1 kB / 0.9546 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.8255, allocations: 219.2 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007093/0.8262, allocations: 260.5 kB / 0.955 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.8268, allocations: 411.5 kB / 0.9554 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.8272, allocations: 223.5 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.8275, allocations: 164.1 kB / 0.9558 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.8279, allocations: 204.9 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.8279, allocations: 25.12 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.8285, allocations: 266 kB / 0.9563 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.8286, allocations: 121.5 kB / 0.9564 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.8288, allocations: 148.1 kB / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.8294, allocations: 0.4965 MB / 0.957 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8294, allocations: 1.156 kB / 0.957 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8294, allocations: 0 / 0.957 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8294, allocations: 4 kB / 0.957 GB, free: 3.254 MB / 0.7169 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.001121/0.8305, allocations: 0.5944 MB / 0.9576 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8306, allocations: 9.781 kB / 0.9576 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009933/0.8316, allocations: 119 kB / 0.9577 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.8319, allocations: 270.4 kB / 0.958 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.8319, allocations: 26.2 kB / 0.958 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.8321, allocations: 41.41 kB / 0.958 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.8328, allocations: 457 kB / 0.9585 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.8328, allocations: 1.375 kB / 0.9585 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.8329, allocations: 10.73 kB / 0.9585 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.833, allocations: 38.66 kB / 0.9585 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.8336, allocations: 365.2 kB / 0.9589 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.836, allocations: 2.224 MB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.8365, allocations: 273.2 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.8367, allocations: 158.3 kB / 0.9614 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.8368, allocations: 3.25 kB / 0.9614 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.8368, allocations: 35.62 kB / 0.9615 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.8368, allocations: 0 / 0.9615 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.00203/0.8388, allocations: 1.06 MB / 0.9625 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.8389, allocations: 53.62 kB / 0.9626 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.8393, allocations: 257.5 kB / 0.9628 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.8393, allocations: 31.36 kB / 0.9628 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.8395, allocations: 193.1 kB / 0.963 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.8395, allocations: 79.62 kB / 0.9631 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.8397, allocations: 75.88 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8398, allocations: 341.2 kB / 0.9635 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.8402, allocations: 162.5 kB / 0.9636 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.8405, allocations: 241.6 kB / 0.9639 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.8411, allocations: 400.7 kB / 0.9643 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8412, allocations: 1.094 kB / 0.9643 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00135/0.8425, allocations: 0.6058 MB / 0.9649 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.8426, allocations: 6.188 kB / 0.9649 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.8426, allocations: 7.219 kB / 0.9649 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007802/0.8434, allocations: 190.8 kB / 0.965 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.8437, allocations: 66.42 kB / 0.9651 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.8472, allocations: 2.49 MB / 0.9675 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.8477, allocations: 27.84 kB / 0.9676 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.8477, allocations: 14.62 kB / 0.9676 GB, free: 10.83 MB / 0.7325 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.0002482/0.848, allocations: 168.5 kB / 0.9677 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.848, allocations: 26.72 kB / 0.9678 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006848/0.8487, allocations: 363.5 kB / 0.9681 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.8487, allocations: 2.156 kB / 0.9681 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.8488, allocations: 1.156 kB / 0.9681 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8488, allocations: 0 / 0.9681 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.85, allocations: 0.8125 MB / 0.9689 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.85, allocations: 1.312 kB / 0.9689 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.8504, allocations: 73.47 kB / 0.969 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.8504, allocations: 6.625 kB / 0.969 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.8504, allocations: 10.58 kB / 0.969 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.8504, allocations: 1.281 kB / 0.969 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8505, allocations: 1.375 kB / 0.969 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.8513, allocations: 0.6095 MB / 0.9696 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.8515, allocations: 134.9 kB / 0.9697 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.8515, allocations: 12.06 kB / 0.9697 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.8518, allocations: 10.39 kB / 0.9698 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.8518, allocations: 18.8 kB / 0.9698 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.8519, allocations: 5.406 kB / 0.9698 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000273/0.8522, allocations: 188.3 kB / 0.97 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8522, allocations: 0 / 0.97 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000464/0.8526, allocations: 90.56 kB / 0.97 GB, free: 9.105 MB / 0.7325 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.0001786/0.8528, allocations: 121.7 kB / 0.9702 GB, free: 9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.8539, allocations: 0.5584 MB / 0.9707 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8539, allocations: 9.25 kB / 0.9707 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.8542, allocations: 147.1 kB / 0.9708 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.8546, allocations: 64.75 kB / 0.9709 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.8564, allocations: 0.9497 MB / 0.9718 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.8569, allocations: 0.7951 MB / 0.9726 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.8572, allocations: 87.45 kB / 0.9727 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.836e-05/0.8573, allocations: 21.69 kB / 0.9727 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.8573, allocations: 0 / 0.9727 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.008933/0.8662, allocations: 4.115 MB / 0.9767 GB, free: 4.922 MB / 0.7325 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/jenkins/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