Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 100.1 kB / 15.88 MB, free: 12 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.00191/0.00191, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.11 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2794, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004803/0.2842, allocations: 3.111 MB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.2872, allocations: 1.806 MB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.2876, allocations: 11.94 kB / 1.058 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2889, allocations: 407 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.2895, allocations: 235.1 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2907, allocations: 436.2 kB / 1.059 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008978/0.2916, allocations: 0.7758 MB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/0.2922, allocations: 465.7 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.2926, allocations: 282.8 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.293, allocations: 302.5 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.2931, allocations: 36 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.2934, allocations: 95.94 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2936, allocations: 207.2 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.2939, allocations: 325.8 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.2946, allocations: 0.6081 MB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2946, allocations: 0 / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2946, allocations: 0 / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.2946, allocations: 0 / 1.062 GB, free: 15.23 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001722/0.2963, allocations: 1.132 MB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2964, allocations: 8.031 kB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.2966, allocations: 99.8 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.2973, allocations: 0.5127 MB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.881e-05/0.2974, allocations: 75.25 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.2974, allocations: 55.94 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008913/0.2983, allocations: 0.5502 MB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2984, allocations: 0 / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.2984, allocations: 20 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.2985, allocations: 12 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.2991, allocations: 343.7 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.3014, allocations: 1.924 MB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.302, allocations: 354.9 kB / 1.067 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.3023, allocations: 172.4 kB / 1.067 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.3023, allocations: 11.75 kB / 1.067 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.3028, allocations: 258.5 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.3028, allocations: 0 / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.0009942/0.3038, allocations: 0.493 MB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.3039, allocations: 195.9 kB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.3048, allocations: 0.7423 MB / 1.068 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.3048, allocations: 53.69 kB / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.3051, allocations: 377.1 kB / 1.069 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.3052, allocations: 106.6 kB / 1.069 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3054, allocations: 146.2 kB / 1.069 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3055, allocations: 326 kB / 1.069 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3058, allocations: 141.2 kB / 1.069 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.3062, allocations: 319.5 kB / 1.07 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.3068, allocations: 385.2 kB / 1.07 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3068, allocations: 3.938 kB / 1.07 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008753/0.3077, allocations: 0.5222 MB / 1.071 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3077, allocations: 8 kB / 1.071 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3077, allocations: 7.984 kB / 1.071 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3078, allocations: 8 kB / 1.071 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.308, allocations: 67.84 kB / 1.071 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.3081, allocations: 16.42 kB / 1.071 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3084, allocations: 67.42 kB / 1.071 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.3084, allocations: 24 kB / 1.071 GB, free: 5.219 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition4.t_start,$PRE.transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 prepare postOptimizeDAE: time 0.0003292/0.3088, allocations: 285.5 kB / 1.071 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.355e-05/0.3089, allocations: 67.16 kB / 1.071 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.3096, allocations: 419.9 kB / 1.072 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.3096, allocations: 8.047 kB / 1.072 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3097, allocations: 11.92 kB / 1.072 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.3097, allocations: 0 / 1.072 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.3112, allocations: 1.071 MB / 1.073 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3112, allocations: 0 / 1.073 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3114, allocations: 27.92 kB / 1.073 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3114, allocations: 8 kB / 1.073 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.3114, allocations: 12 kB / 1.073 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.3114, allocations: 11.98 kB / 1.073 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3114, allocations: 3.938 kB / 1.073 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.3121, allocations: 0.517 MB / 1.073 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3123, allocations: 144.1 kB / 1.073 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.3124, allocations: 19.98 kB / 1.073 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3126, allocations: 19.92 kB / 1.073 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3127, allocations: 47.88 kB / 1.073 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.3127, allocations: 16 kB / 1.073 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005538/0.3133, allocations: 0.499 MB / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3133, allocations: 0 / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005282/0.3138, allocations: 143.6 kB / 1.074 GB, free: 1.793 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.00111/0.315, allocations: 454.1 kB / 1.074 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007409/0.3157, allocations: 393.9 kB / 1.075 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3157, allocations: 0 / 1.075 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.316, allocations: 191.5 kB / 1.075 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.3168, allocations: 121.6 kB / 1.075 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.319, allocations: 1.484 MB / 1.077 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.3195, allocations: 0.9692 MB / 1.078 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.3197, allocations: 51.42 kB / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3197, allocations: 0 / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.01383/0.3335, allocations: 8.979 MB / 1.086 GB, free: 5.309 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches