Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.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.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001206/0.001206, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001379/0.001379, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 8 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 153.7 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002479/1.054, allocations: 1.488 MB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001747/1.056, allocations: 0.8819 MB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/1.056, allocations: 3.938 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/1.056, allocations: 15.86 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/1.057, allocations: 107.7 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/1.057, allocations: 154.3 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/1.057, allocations: 135.8 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/1.057, allocations: 37.64 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/1.058, allocations: 91.67 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/1.059, allocations: 1.089 MB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/1.059, allocations: 12 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/1.059, allocations: 15.98 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/1.059, allocations: 35.84 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/1.06, allocations: 49.64 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/1.06, allocations: 149.6 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.06, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/1.06, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.181e-06/1.06, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 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.000819/1.061, allocations: 0.5349 MB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.061, allocations: 11.98 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/1.061, allocations: 19.81 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/1.061, allocations: 238.7 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.061, allocations: 8 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/1.061, allocations: 12 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/1.061, allocations: 119.3 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/1.061, allocations: 0 / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.061, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.061, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/1.062, allocations: 55.91 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.063, allocations: 0.5513 MB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/1.063, allocations: 105.2 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.063, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/1.063, allocations: 125.1 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/1.063, allocations: 4 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003597/1.063, allocations: 161.4 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/1.063, allocations: 77.11 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/1.064, allocations: 206.7 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/1.064, allocations: 29.7 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.948e-05/1.064, allocations: 124.5 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/1.064, allocations: 35.56 kB / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/1.064, allocations: 0 / 1.027 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.064, allocations: 334.8 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/1.064, allocations: 36.48 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/1.064, allocations: 130.1 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.635e-05/1.065, allocations: 43.95 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.065, allocations: 0 / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000239/1.065, allocations: 158.5 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.065, allocations: 5.875 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/1.065, allocations: 4 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.065, allocations: 4 kB / 1.028 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/1.065, allocations: 28.08 kB / 1.028 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.065, allocations: 4 kB / 1.028 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.065, allocations: 31.83 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/1.065, allocations: 8 kB / 1.028 GB, free: 9.41 MB / 0.7794 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/1.065, allocations: 135.6 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/1.065, allocations: 27.75 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/1.065, allocations: 21.53 kB / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.065, allocations: 4 kB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.065, allocations: 0 / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.065, allocations: 3.984 kB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/1.066, allocations: 474.2 kB / 1.029 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.066, allocations: 7.938 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/1.066, allocations: 11.92 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.066, allocations: 0 / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.066, allocations: 4 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.066, allocations: 0 / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.066, allocations: 0 / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/1.066, allocations: 245.8 kB / 1.029 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/1.067, allocations: 96.86 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/1.067, allocations: 4 kB / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1.067, allocations: 19.97 kB / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/1.067, allocations: 19.97 kB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/1.067, allocations: 8 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002496/1.067, allocations: 140.9 kB / 1.029 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/1.067, allocations: 4 kB / 1.029 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003151/1.067, allocations: 47.91 kB / 1.029 GB, free: 8.051 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/1.068, allocations: 182.8 kB / 1.029 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/1.068, allocations: 95.89 kB / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.068, allocations: 0 / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/1.068, allocations: 47.92 kB / 1.03 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/1.068, allocations: 52.2 kB / 1.03 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/1.069, allocations: 319.6 kB / 1.03 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.07, allocations: 0.7325 MB / 1.031 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.024e-05/1.07, allocations: 21.55 kB / 1.031 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/1.07, allocations: 23.42 kB / 1.031 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/1.07, allocations: 3.938 kB / 1.031 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of Templates: time 0.007191/1.077, allocations: 3.279 MB / 1.034 GB, free: 3.309 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches