Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 110.8 kB / 15.99 MB, free: 6.348 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.001658/0.001658, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 66.02 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003327/0.326, allocations: 1.905 MB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3277, allocations: 0.9319 MB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.3278, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.328, allocations: 23.8 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.3284, allocations: 103.7 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.3288, allocations: 142.7 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.3291, allocations: 235.4 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3292, allocations: 45.66 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3294, allocations: 115.6 kB / 1.068 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03342/0.3628, allocations: 1.966 MB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/0.3629, allocations: 20 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.363, allocations: 47.91 kB / 1.07 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.3631, allocations: 39.84 kB / 1.07 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.3633, allocations: 99.53 kB / 1.07 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.3635, allocations: 147.7 kB / 1.07 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3635, allocations: 0 / 1.07 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3635, allocations: 0 / 1.07 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.3636, allocations: 0 / 1.07 GB, free: 9.844 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000871/0.3644, allocations: 0.5527 MB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3645, allocations: 12.03 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.3646, allocations: 24.66 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.3649, allocations: 244.7 kB / 1.071 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3649, allocations: 12 kB / 1.071 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.3649, allocations: 16 kB / 1.071 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.3652, allocations: 113.4 kB / 1.071 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3652, allocations: 0 / 1.071 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3652, allocations: 4 kB / 1.071 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.3652, allocations: 4 kB / 1.071 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3653, allocations: 55.91 kB / 1.071 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.3663, allocations: 0.5318 MB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3665, allocations: 97.08 kB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.3666, allocations: 41.77 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3666, allocations: 7.984 kB / 1.071 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.3668, allocations: 133.1 kB / 1.072 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3668, allocations: 0 / 1.072 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003604/0.3672, allocations: 161.4 kB / 1.072 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3673, allocations: 77.11 kB / 1.072 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.3675, allocations: 200.3 kB / 1.072 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.3675, allocations: 37.64 kB / 1.072 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3677, allocations: 120.5 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.3677, allocations: 31.55 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3678, allocations: 65.66 kB / 1.072 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.368, allocations: 331 kB / 1.073 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.3681, allocations: 31.98 kB / 1.073 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3683, allocations: 141.3 kB / 1.073 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3685, allocations: 116.8 kB / 1.073 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3685, allocations: 0 / 1.073 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002834/0.3688, allocations: 153.3 kB / 1.073 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3688, allocations: 12.16 kB / 1.073 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3689, allocations: 0 / 1.073 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3689, allocations: 4 kB / 1.073 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.369, allocations: 19.92 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.369, allocations: 4 kB / 1.073 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.3692, allocations: 31.77 kB / 1.073 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3692, allocations: 4 kB / 1.073 GB, free: 6.176 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001686/0.3694, allocations: 151.6 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3695, allocations: 19.81 kB / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.3695, allocations: 21.52 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3695, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3695, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3695, allocations: 4 kB / 1.073 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.3702, allocations: 466.2 kB / 1.074 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3702, allocations: 0 / 1.074 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.3703, allocations: 11.94 kB / 1.074 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3704, allocations: 4 kB / 1.074 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3704, allocations: 7.938 kB / 1.074 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3705, allocations: 3.938 kB / 1.074 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3705, allocations: 4 kB / 1.074 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3707, allocations: 224.2 kB / 1.074 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.3708, allocations: 92.86 kB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.3709, allocations: 7.984 kB / 1.074 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.371, allocations: 19.92 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.3711, allocations: 19.92 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.3711, allocations: 7.984 kB / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3713, allocations: 148.2 kB / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3713, allocations: 0 / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003295/0.3716, allocations: 43.91 kB / 1.074 GB, free: 4.844 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004146/0.372, allocations: 166.6 kB / 1.074 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3723, allocations: 122.8 kB / 1.075 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3723, allocations: 0 / 1.075 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3724, allocations: 51.91 kB / 1.075 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.3729, allocations: 57.33 kB / 1.075 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.3735, allocations: 366.3 kB / 1.075 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3739, allocations: 0.7203 MB / 1.076 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.3739, allocations: 23.44 kB / 1.076 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3739, allocations: 0 / 1.076 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of Templates: time 0.006844/0.3808, allocations: 3.196 MB / 1.079 GB, free: 132 kB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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