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.0009782/0.0009781, allocations: 98.48 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.00138/0.00138, allocations: 185.7 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 11.62 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2797, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003588/0.2833, allocations: 2.728 MB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.2863, allocations: 1.779 MB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.2867, allocations: 15.88 kB / 1.064 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.2879, allocations: 399.2 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000639/0.2885, allocations: 235.1 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2896, allocations: 432.9 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009417/0.2906, allocations: 0.7796 MB / 1.066 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006708/0.2913, allocations: 439.6 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.2917, allocations: 250.8 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.292, allocations: 270.6 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.2921, allocations: 20 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.2924, allocations: 91.89 kB / 1.067 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2926, allocations: 179.3 kB / 1.067 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.2929, allocations: 327.5 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.2934, allocations: 0.5923 MB / 1.068 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2935, allocations: 0 / 1.068 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2935, allocations: 7.938 kB / 1.068 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2935, allocations: 0 / 1.068 GB, free: 12.4 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.001342/0.2948, allocations: 0.9841 MB / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2949, allocations: 8.031 kB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.295, allocations: 95.8 kB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.2957, allocations: 0.5244 MB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.2958, allocations: 71.25 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.2958, allocations: 55.94 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008565/0.2967, allocations: 0.5463 MB / 1.07 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2967, allocations: 4 kB / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.2968, allocations: 16 kB / 1.07 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.2968, allocations: 12 kB / 1.07 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.2974, allocations: 343.6 kB / 1.07 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.2995, allocations: 1.94 MB / 1.072 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.3001, allocations: 354.8 kB / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3004, allocations: 163.5 kB / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.3004, allocations: 7.75 kB / 1.073 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.3008, allocations: 270.5 kB / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.3009, allocations: 0 / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.0009221/0.3018, allocations: 0.493 MB / 1.073 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/0.3019, allocations: 191.9 kB / 1.074 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.3027, allocations: 0.7427 MB / 1.074 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.3027, allocations: 53.69 kB / 1.074 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.303, allocations: 376.7 kB / 1.075 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.3031, allocations: 106.6 kB / 1.075 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.3032, allocations: 85.66 kB / 1.075 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3033, allocations: 334 kB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.3036, allocations: 133.2 kB / 1.075 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.304, allocations: 323.5 kB / 1.076 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.3045, allocations: 381.2 kB / 1.076 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3045, allocations: 7.938 kB / 1.076 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008098/0.3053, allocations: 0.5181 MB / 1.076 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3054, allocations: 8 kB / 1.076 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3054, allocations: 4 kB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3054, allocations: 8.594 kB / 1.076 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3057, allocations: 79.83 kB / 1.077 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.3057, allocations: 15.94 kB / 1.077 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3059, allocations: 55.52 kB / 1.077 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.306, allocations: 24 kB / 1.077 GB, free: 2.59 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.0003055/0.3063, allocations: 277.5 kB / 1.077 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.3064, allocations: 79.05 kB / 1.077 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.3071, allocations: 431.8 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3071, allocations: 4 kB / 1.077 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3071, allocations: 8 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3072, allocations: 0 / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.3086, allocations: 1.075 MB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3086, allocations: 0 / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3087, allocations: 31.92 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3088, allocations: 4 kB / 1.078 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3088, allocations: 11.98 kB / 1.079 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3088, allocations: 4 kB / 1.079 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3088, allocations: 3.938 kB / 1.079 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.3095, allocations: 0.5247 MB / 1.079 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3096, allocations: 148.2 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.3097, allocations: 15.98 kB / 1.079 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3099, allocations: 19.98 kB / 1.079 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.31, allocations: 47.89 kB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.3101, allocations: 19.98 kB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005422/0.3106, allocations: 0.4951 MB / 1.08 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3106, allocations: 0 / 1.08 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004957/0.3111, allocations: 147.5 kB / 1.08 GB, free: 15.14 MB / 0.8419 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.001042/0.3122, allocations: 453.2 kB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006625/0.3128, allocations: 397 kB / 1.081 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3129, allocations: 0 / 1.081 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.3132, allocations: 192.8 kB / 1.081 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.3139, allocations: 126.1 kB / 1.081 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.3158, allocations: 1.509 MB / 1.082 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.3163, allocations: 0.9543 MB / 1.083 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3164, allocations: 55.42 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3164, allocations: 4 kB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.0134/0.3298, allocations: 8.936 MB / 1.092 GB, free: 2.68 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