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.0009567/0.0009568, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009452/0.0009451, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.98/2.98, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 8.781 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003528/0.3552, allocations: 2.827 MB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.3578, allocations: 1.742 MB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.358, allocations: 4 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3582, allocations: 43.64 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.3586, allocations: 171.2 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.3592, allocations: 223.5 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.3596, allocations: 462.6 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007036/0.3603, allocations: 434.7 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.3605, allocations: 135.5 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.3609, allocations: 187.3 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.3609, allocations: 16 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3612, allocations: 135.8 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3613, allocations: 115.7 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.3614, allocations: 69.58 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.3617, allocations: 343.4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3617, allocations: 3.984 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3618, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3618, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 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.0008922/0.3627, allocations: 0.5456 MB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3627, allocations: 8.031 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.3634, allocations: 95.53 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.3638, allocations: 275.9 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3638, allocations: 12.56 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3639, allocations: 39.88 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.3646, allocations: 445.1 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3646, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.3646, allocations: 8 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3648, allocations: 40.52 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.3653, allocations: 349.9 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.3676, allocations: 2.199 MB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.368, allocations: 274.9 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.3682, allocations: 161.2 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3683, allocations: 8.125 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3683, allocations: 38.75 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3683, allocations: 0 / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001688/0.37, allocations: 1.048 MB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.37, allocations: 59.41 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3703, allocations: 241 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3703, allocations: 29.7 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3704, allocations: 187.9 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.3705, allocations: 86.73 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.3705, allocations: 12 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3706, allocations: 334.8 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.3709, allocations: 151.9 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.3711, allocations: 245.5 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3714, allocations: 185.3 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3714, allocations: 7.938 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001042/0.3725, allocations: 0.5819 MB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3725, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3725, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.3732, allocations: 192.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.3735, allocations: 67.84 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3761, allocations: 2.284 MB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.3764, allocations: 24.08 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.3764, allocations: 12 kB / 1.075 GB, free: 3.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.3766, allocations: 165.8 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.3767, allocations: 23.72 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.3773, allocations: 351.5 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3773, allocations: 11.94 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3773, allocations: 0 / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3773, allocations: 4 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3783, allocations: 0.8024 MB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3784, allocations: 0 / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.3788, allocations: 75.88 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3788, allocations: 3.953 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3788, allocations: 8 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3788, allocations: 3.938 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3788, allocations: 4.062 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.3795, allocations: 0.6169 MB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3797, allocations: 128.8 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.3797, allocations: 15.89 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3799, allocations: 11.98 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.38, allocations: 19.98 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.38, allocations: 11.98 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001581/0.3802, allocations: 180.4 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3802, allocations: 0 / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004255/0.3806, allocations: 84 kB / 1.077 GB, free: 1.031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.3808, allocations: 111.2 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000893/0.3817, allocations: 0.5299 MB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3817, allocations: 0 / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.3819, allocations: 147.9 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.3824, allocations: 47.34 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3839, allocations: 1.007 MB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.3843, allocations: 0.799 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.3845, allocations: 86.83 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.24e-05/0.3846, allocations: 23.44 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3846, allocations: 0 / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.007301/0.3919, allocations: 3.647 MB / 1.083 GB, free: 10.58 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=480 -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/jenkins/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