Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.3 kB / 15.99 MB, free: 5.895 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.001325/0.001325, allocations: 193.8 kB / 16.91 MB, free: 5.742 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.963/2.963, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001917, allocations: 66.14 kB / 0.9087 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 159.2 MB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00343/0.3344, allocations: 1.893 MB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.336, allocations: 0.9281 MB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.3361, allocations: 7.938 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.3363, allocations: 23.84 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.3367, allocations: 99.59 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.337, allocations: 141.7 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3373, allocations: 243.3 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3375, allocations: 33.67 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3376, allocations: 111.7 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03335/0.371, allocations: 2.02 MB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3711, allocations: 16 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.3714, allocations: 39.98 kB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.149e-05/0.3715, allocations: 43.83 kB / 1.07 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3717, allocations: 91.5 kB / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.3721, allocations: 143.8 kB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.3721, allocations: 0 / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3721, allocations: 0 / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.3722, allocations: 4 kB / 1.07 GB, free: 9.359 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00109/0.3732, allocations: 0.5565 MB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.3733, allocations: 8.031 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.3734, allocations: 24.75 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.3738, allocations: 243.5 kB / 1.071 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3738, allocations: 8 kB / 1.071 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.3739, allocations: 20 kB / 1.071 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.3741, allocations: 87.03 kB / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3742, allocations: 0 / 1.071 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3742, allocations: 11.92 kB / 1.071 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3742, allocations: 0 / 1.071 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3743, allocations: 59.86 kB / 1.071 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.3753, allocations: 460.4 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.3758, allocations: 134.7 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.3759, allocations: 40.84 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3759, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.3762, allocations: 122.2 kB / 1.072 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.3762, allocations: 0 / 1.072 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005453/0.3768, allocations: 161.5 kB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3768, allocations: 59.34 kB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.3771, allocations: 196.3 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.3772, allocations: 33.7 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3774, allocations: 120.5 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3775, allocations: 35.55 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3776, allocations: 57.67 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3778, allocations: 334.8 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.3779, allocations: 35.98 kB / 1.073 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.3782, allocations: 133.6 kB / 1.073 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3784, allocations: 98.73 kB / 1.073 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3784, allocations: 0 / 1.073 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003055/0.3787, allocations: 157.2 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3788, allocations: 4 kB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3788, allocations: 4 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.3789, allocations: 16 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/0.3789, allocations: 7.938 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.3792, allocations: 39.94 kB / 1.073 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3792, allocations: 7.984 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000181/0.3794, allocations: 139.6 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.3794, allocations: 15.81 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.3795, allocations: 21.86 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3795, allocations: 0 / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3795, allocations: 4 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3795, allocations: 0 / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.3804, allocations: 494 kB / 1.074 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3804, allocations: 4 kB / 1.074 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.3805, allocations: 7.938 kB / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3805, allocations: 4 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3805, allocations: 0 / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3805, allocations: 3.938 kB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3805, allocations: 7.938 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.3808, allocations: 229.9 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.381, allocations: 88.92 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.381, allocations: 11.98 kB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3811, allocations: 11.92 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.3812, allocations: 23.97 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.3813, allocations: 8 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001652/0.3815, allocations: 144.2 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3815, allocations: 11.88 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003438/0.3818, allocations: 43.94 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004998/0.3823, allocations: 177.2 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.3827, allocations: 103.8 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3827, allocations: 0 / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3828, allocations: 51.97 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3833, allocations: 59.89 kB / 1.075 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.3841, allocations: 372 kB / 1.075 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.3845, allocations: 0.7242 MB / 1.076 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.3846, allocations: 27.42 kB / 1.076 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3846, allocations: 0 / 1.076 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of Templates: time 0.006723/0.3914, allocations: 3.205 MB / 1.079 GB, free: 15.79 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time