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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001217/0.001217, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001037/0.001037, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 65.94 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3357, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005247/0.3409, allocations: 3.273 MB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.3442, allocations: 1.858 MB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.3445, allocations: 11.88 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009585/0.3455, allocations: 286.8 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.346, allocations: 219 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.3468, allocations: 288.1 kB / 1.033 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.3473, allocations: 402.7 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.3477, allocations: 204.2 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3479, allocations: 163.4 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.3483, allocations: 195.3 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.3484, allocations: 24 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.3488, allocations: 235.5 kB / 1.034 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3489, allocations: 119.7 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3491, allocations: 147.2 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.3497, allocations: 486.5 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3497, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3497, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3497, allocations: 0 / 1.034 GB, free: 10.21 MB / 0.8106 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.001183/0.3509, allocations: 0.5849 MB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.351, allocations: 12.03 kB / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007758/0.3517, allocations: 96.45 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3522, allocations: 281.1 kB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3522, allocations: 20.92 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.3524, allocations: 36.73 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.3531, allocations: 441.1 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.3531, allocations: 4 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3531, allocations: 11.98 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.3533, allocations: 40.53 kB / 1.036 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.3538, allocations: 349.9 kB / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.3565, allocations: 2.195 MB / 1.038 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.357, allocations: 266.4 kB / 1.039 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3572, allocations: 164.7 kB / 1.039 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3572, allocations: 4 kB / 1.039 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.3573, allocations: 38.55 kB / 1.039 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.3573, allocations: 0 / 1.039 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.002137/0.3594, allocations: 1.054 MB / 1.04 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.3595, allocations: 59.34 kB / 1.04 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.3599, allocations: 248.9 kB / 1.04 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3599, allocations: 29.7 kB / 1.04 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.3601, allocations: 191.9 kB / 1.04 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.3602, allocations: 82.84 kB / 1.04 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3604, allocations: 77.59 kB / 1.04 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3605, allocations: 334.8 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.3608, allocations: 151.9 kB / 1.041 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.3611, allocations: 233.6 kB / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.3616, allocations: 415.4 kB / 1.042 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3616, allocations: 0 / 1.042 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.3627, allocations: 0.5855 MB / 1.042 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.3628, allocations: 6.812 kB / 1.042 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3628, allocations: 7.938 kB / 1.042 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/0.3635, allocations: 188.8 kB / 1.042 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.3638, allocations: 63.89 kB / 1.042 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3669, allocations: 2.492 MB / 1.045 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.3673, allocations: 23.98 kB / 1.045 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3673, allocations: 15.98 kB / 1.045 GB, free: 14.81 MB / 0.8262 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.0002257/0.3675, allocations: 165.8 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.3676, allocations: 23.66 kB / 1.045 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.3682, allocations: 358.8 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3682, allocations: 11.98 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.3682, allocations: 0 / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3683, allocations: 0 / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3694, allocations: 0.806 MB / 1.046 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3694, allocations: 0 / 1.046 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3698, allocations: 79.88 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3699, allocations: 0 / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.3699, allocations: 12.06 kB / 1.046 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3699, allocations: 4 kB / 1.046 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3699, allocations: 3.984 kB / 1.046 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.3707, allocations: 0.6102 MB / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3709, allocations: 124.8 kB / 1.047 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3709, allocations: 11.98 kB / 1.047 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3711, allocations: 15.98 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3712, allocations: 15.92 kB / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3712, allocations: 11.94 kB / 1.047 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000186/0.3714, allocations: 176.5 kB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3714, allocations: 0 / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004367/0.3719, allocations: 88 kB / 1.047 GB, free: 12.2 MB / 0.8262 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.0001901/0.3721, allocations: 119.2 kB / 1.047 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009828/0.373, allocations: 0.522 MB / 1.048 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3731, allocations: 0 / 1.048 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3733, allocations: 151.8 kB / 1.048 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3737, allocations: 67.92 kB / 1.048 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3753, allocations: 0.8326 MB / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.3757, allocations: 0.795 MB / 1.05 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001967/0.376, allocations: 78.89 kB / 1.05 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.376, allocations: 23.44 kB / 1.05 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3761, allocations: 4 kB / 1.05 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.008146/0.3842, allocations: 3.981 MB / 1.054 GB, free: 5.582 MB / 0.8262 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 -s cvode -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