Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001047/0.001047, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008568/0.008568, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 8.906 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002461/0.3182, allocations: 1.541 MB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3198, allocations: 0.9396 MB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.3199, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.3201, allocations: 27.78 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3205, allocations: 95.66 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.3208, allocations: 142.9 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3211, allocations: 231.3 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3212, allocations: 25.67 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.3214, allocations: 99.67 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05461/0.376, allocations: 3.623 MB / 1.065 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3761, allocations: 8 kB / 1.065 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.3763, allocations: 31.88 kB / 1.065 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/0.3764, allocations: 31.84 kB / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3766, allocations: 113.2 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.3769, allocations: 195.3 kB / 1.066 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3769, allocations: 0 / 1.066 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3769, allocations: 0 / 1.066 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.377, allocations: 0 / 1.066 GB, free: 15.34 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.001442/0.3784, allocations: 0.5255 MB / 1.066 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3785, allocations: 8.031 kB / 1.066 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.3785, allocations: 24.73 kB / 1.066 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3789, allocations: 240.6 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3789, allocations: 12 kB / 1.066 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.3789, allocations: 15.98 kB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3791, allocations: 90.86 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3792, allocations: 0 / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3792, allocations: 8 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3792, allocations: 0 / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3793, allocations: 51.92 kB / 1.067 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008265/0.3801, allocations: 472.4 kB / 1.067 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.3807, allocations: 154.7 kB / 1.067 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.3807, allocations: 40.84 kB / 1.067 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3808, allocations: 4 kB / 1.067 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.381, allocations: 111.1 kB / 1.067 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.654e-06/0.381, allocations: 0 / 1.067 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004224/0.3815, allocations: 168.6 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.3815, allocations: 55.39 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3818, allocations: 196.2 kB / 1.068 GB, free: 13 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.3818, allocations: 37.64 kB / 1.068 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3819, allocations: 136.4 kB / 1.068 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.382, allocations: 27.56 kB / 1.068 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.382, allocations: 29.7 kB / 1.068 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3822, allocations: 330.8 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.916e-05/0.3823, allocations: 31.98 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.3825, allocations: 133.6 kB / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3827, allocations: 99.03 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3827, allocations: 3.938 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002364/0.3829, allocations: 153.4 kB / 1.069 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.383, allocations: 8 kB / 1.069 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.383, allocations: 0 / 1.069 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.383, allocations: 3.984 kB / 1.069 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.3831, allocations: 15.94 kB / 1.069 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3831, allocations: 4 kB / 1.069 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3833, allocations: 27.89 kB / 1.069 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3833, allocations: 8.094 kB / 1.069 GB, free: 11.9 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.0001411/0.3835, allocations: 157 kB / 1.069 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3835, allocations: 15.81 kB / 1.069 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.3836, allocations: 25.86 kB / 1.069 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3836, allocations: 0 / 1.069 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3836, allocations: 4 kB / 1.069 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3836, allocations: 0 / 1.069 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.3843, allocations: 0.4943 MB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3843, allocations: 0 / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.3844, allocations: 7.984 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3844, allocations: 0 / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3844, allocations: 4 kB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3844, allocations: 11.94 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3844, allocations: 0 / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3847, allocations: 231.2 kB / 1.07 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.3847, allocations: 88.92 kB / 1.07 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3848, allocations: 7.984 kB / 1.07 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3849, allocations: 27.86 kB / 1.07 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.385, allocations: 19.97 kB / 1.07 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.385, allocations: 8 kB / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001309/0.3852, allocations: 144.2 kB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3852, allocations: 0 / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003259/0.3855, allocations: 47.91 kB / 1.07 GB, free: 10.52 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.0003658/0.3859, allocations: 174.8 kB / 1.07 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.3861, allocations: 103.9 kB / 1.07 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3861, allocations: 4.25 kB / 1.07 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.735e-05/0.3862, allocations: 51.92 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3866, allocations: 54.08 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.3872, allocations: 326.6 kB / 1.071 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3875, allocations: 0.7284 MB / 1.071 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.997e-05/0.3876, allocations: 21.48 kB / 1.071 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.3877, allocations: 23.42 kB / 1.071 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3877, allocations: 0 / 1.071 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.007388/0.3951, allocations: 3.452 MB / 1.075 GB, free: 5.594 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches