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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001076/0.001076, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003738, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8144, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004424/0.8188, allocations: 2.949 MB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0036/0.8225, allocations: 2 MB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.8228, allocations: 4 kB / 1.029 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.8231, allocations: 43.64 kB / 1.029 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.824, allocations: 211.2 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.8249, allocations: 267.2 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.8256, allocations: 0.5726 MB / 1.03 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000929/0.8266, allocations: 453.1 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.8269, allocations: 143.3 kB / 1.03 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.8274, allocations: 191.3 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.8275, allocations: 12 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.8281, allocations: 311.4 kB / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.8283, allocations: 107.7 kB / 1.031 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.8285, allocations: 157 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.8291, allocations: 373 kB / 1.031 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8291, allocations: 4 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8291, allocations: 0 / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.8291, allocations: 0 / 1.031 GB, free: 8.062 MB / 0.7794 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.001122/0.8302, allocations: 0.5381 MB / 1.032 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8303, allocations: 8.031 kB / 1.032 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.8314, allocations: 124.4 kB / 1.032 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.8318, allocations: 268.5 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.8318, allocations: 28.84 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.832, allocations: 40.39 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008253/0.8328, allocations: 453.1 kB / 1.033 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.8329, allocations: 0 / 1.033 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.8329, allocations: 12 kB / 1.033 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.8331, allocations: 44.53 kB / 1.033 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.8338, allocations: 365.9 kB / 1.033 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.8366, allocations: 2.218 MB / 1.035 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.837, allocations: 275.1 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.8373, allocations: 164.8 kB / 1.036 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.8373, allocations: 4 kB / 1.036 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.8374, allocations: 34.56 kB / 1.036 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.8374, allocations: 0 / 1.036 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001895/0.8393, allocations: 1.055 MB / 1.037 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.8393, allocations: 55.41 kB / 1.037 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.8396, allocations: 257 kB / 1.037 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.8397, allocations: 29.7 kB / 1.037 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.8398, allocations: 195.9 kB / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.8399, allocations: 82.81 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.84, allocations: 33.7 kB / 1.037 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8401, allocations: 334.8 kB / 1.038 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.8404, allocations: 155.9 kB / 1.038 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.8408, allocations: 249.5 kB / 1.038 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.8413, allocations: 406.8 kB / 1.038 GB, free: 196 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8414, allocations: 3.938 kB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00122/0.8426, allocations: 0.6002 MB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8426, allocations: 4.312 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.8426, allocations: 11.98 kB / 1.039 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/0.8433, allocations: 188.6 kB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.8436, allocations: 63.89 kB / 1.039 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.8465, allocations: 2.303 MB / 1.042 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.8469, allocations: 19.98 kB / 1.042 GB, free: 12.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.8469, allocations: 24.05 kB / 1.042 GB, free: 12.83 MB / 0.795 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.0002088/0.8471, allocations: 161.7 kB / 1.042 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.8472, allocations: 31.66 kB / 1.042 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/0.8478, allocations: 347.5 kB / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8478, allocations: 0 / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.8478, allocations: 0 / 1.042 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8478, allocations: 7.984 kB / 1.042 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.8489, allocations: 0.8147 MB / 1.043 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.8489, allocations: 0 / 1.043 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.8493, allocations: 75.94 kB / 1.043 GB, free: 11.33 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.8493, allocations: 0 / 1.043 GB, free: 11.33 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.8494, allocations: 11.94 kB / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8494, allocations: 0 / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8494, allocations: 0 / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.8502, allocations: 0.6272 MB / 1.044 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.8503, allocations: 120.9 kB / 1.044 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.8503, allocations: 12 kB / 1.044 GB, free: 10.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.8506, allocations: 15.97 kB / 1.044 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.8506, allocations: 19.92 kB / 1.044 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.8507, allocations: 8 kB / 1.044 GB, free: 10.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002224/0.8509, allocations: 188.5 kB / 1.044 GB, free: 10.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8509, allocations: 0 / 1.044 GB, free: 10.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004174/0.8513, allocations: 91.94 kB / 1.044 GB, free: 10.21 MB / 0.795 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.0001616/0.8515, allocations: 111.3 kB / 1.044 GB, free: 10.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009423/0.8524, allocations: 0.5417 MB / 1.045 GB, free: 9.535 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8524, allocations: 0 / 1.045 GB, free: 9.535 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.8527, allocations: 147.9 kB / 1.045 GB, free: 9.391 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.8532, allocations: 54.73 kB / 1.045 GB, free: 9.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.8548, allocations: 1.063 MB / 1.046 GB, free: 8.234 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.8552, allocations: 0.7912 MB / 1.047 GB, free: 7.418 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.8553, allocations: 27.42 kB / 1.047 GB, free: 7.391 MB / 0.795 GB Notification: Performance of SimCode: time 1.8e-07/0.8553, allocations: 0 / 1.047 GB, free: 7.391 MB / 0.795 GB Notification: Performance of Templates: time 0.00703/0.8623, allocations: 4.511 MB / 1.051 GB, free: 2.887 MB / 0.795 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