Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001426/0.001426, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 64.62 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3355, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003616/0.3392, allocations: 1.734 MB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3409, allocations: 0.9008 MB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.341, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3413, allocations: 31.73 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.3418, allocations: 119.4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.3422, allocations: 147.7 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.3426, allocations: 243.4 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3427, allocations: 41.61 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.3429, allocations: 115.7 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009444/0.3524, allocations: 1.644 MB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.3525, allocations: 16 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3526, allocations: 43.97 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.3527, allocations: 39.84 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3528, allocations: 95.48 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.3532, allocations: 215.4 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3532, allocations: 3.938 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3532, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3533, allocations: 0 / 1.069 GB, free: 10.09 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.0008645/0.3541, allocations: 0.5527 MB / 1.07 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3542, allocations: 12.56 kB / 1.07 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.3543, allocations: 28.66 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3546, allocations: 240.8 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3546, allocations: 8 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.3546, allocations: 16 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.3548, allocations: 119.2 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3548, allocations: 0 / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3549, allocations: 0 / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3549, allocations: 4 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.355, allocations: 51.97 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.3558, allocations: 0.5512 MB / 1.071 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.356, allocations: 93.27 kB / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.356, allocations: 41.77 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3561, allocations: 0 / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.3564, allocations: 136.5 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.3564, allocations: 0 / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003315/0.3567, allocations: 157.4 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3568, allocations: 85.05 kB / 1.071 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.357, allocations: 200.3 kB / 1.072 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.357, allocations: 33.7 kB / 1.072 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.3571, allocations: 120.5 kB / 1.072 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.3572, allocations: 43.67 kB / 1.072 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.3573, allocations: 53.67 kB / 1.072 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3574, allocations: 326.8 kB / 1.072 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3574, allocations: 35.98 kB / 1.072 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3577, allocations: 137.3 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3578, allocations: 113.9 kB / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3578, allocations: 0 / 1.072 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002372/0.3581, allocations: 160.7 kB / 1.073 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3581, allocations: 4 kB / 1.073 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3581, allocations: 0 / 1.073 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3581, allocations: 8 kB / 1.073 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.3582, allocations: 23.92 kB / 1.073 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3582, allocations: 4 kB / 1.073 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3585, allocations: 27.77 kB / 1.073 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3585, allocations: 12.16 kB / 1.073 GB, free: 6.41 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.0001176/0.3586, allocations: 149.6 kB / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.3587, allocations: 19.81 kB / 1.073 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.3587, allocations: 21.52 kB / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3587, allocations: 0 / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3587, allocations: 4 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3587, allocations: 0 / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.3593, allocations: 470.2 kB / 1.073 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3593, allocations: 4 kB / 1.073 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.3593, allocations: 4 kB / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3593, allocations: 0 / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3593, allocations: 0 / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.3594, allocations: 7.938 kB / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3594, allocations: 0 / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.3596, allocations: 232.1 kB / 1.074 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3596, allocations: 92.95 kB / 1.074 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.3597, allocations: 11.97 kB / 1.074 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3598, allocations: 15.92 kB / 1.074 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.3599, allocations: 15.98 kB / 1.074 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.3599, allocations: 11.98 kB / 1.074 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001194/0.36, allocations: 144.2 kB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3601, allocations: 4 kB / 1.074 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003199/0.3604, allocations: 47.91 kB / 1.074 GB, free: 5.082 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.000349/0.3607, allocations: 173.3 kB / 1.074 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.361, allocations: 109 kB / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.361, allocations: 0 / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.3611, allocations: 59.91 kB / 1.074 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3615, allocations: 47.28 kB / 1.074 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.3621, allocations: 341.8 kB / 1.075 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3624, allocations: 0.7242 MB / 1.075 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.3625, allocations: 23.42 kB / 1.075 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3625, allocations: 0 / 1.075 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.005853/0.3683, allocations: 3.218 MB / 1.078 GB, free: 388 kB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches