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.001401/0.001401, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001324, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.484 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 3/3, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.28 kB / 0.908 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3022, allocations: 159.2 MB / 1.063 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003556/0.3058, allocations: 1.901 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3075, allocations: 0.9358 MB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.3076, allocations: 4 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.3078, allocations: 27.78 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.3081, allocations: 95.66 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.3086, allocations: 148.5 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3089, allocations: 235.4 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3092, allocations: 41.67 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.3094, allocations: 111.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03333/0.3427, allocations: 1.973 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-05/0.3428, allocations: 20 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3429, allocations: 39.98 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.343, allocations: 35.91 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.3432, allocations: 99.48 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.3435, allocations: 219.3 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3436, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3436, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3436, allocations: 3.984 kB / 1.069 GB, free: 9.312 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008802/0.3445, allocations: 0.545 MB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3445, allocations: 15.97 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.3446, allocations: 20.66 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3449, allocations: 251.5 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.345, allocations: 15.94 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.345, allocations: 16 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3452, allocations: 105.8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.3452, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3453, allocations: 8 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3453, allocations: 0 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3454, allocations: 59.91 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.3464, allocations: 0.5318 MB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3466, allocations: 97.08 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.3466, allocations: 41.77 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3467, allocations: 4 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.3469, allocations: 137.1 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3469, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003645/0.3473, allocations: 164 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.3473, allocations: 81.11 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.3476, allocations: 200.3 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.3476, allocations: 33.7 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3478, allocations: 120.5 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.3478, allocations: 31.67 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3479, allocations: 65.67 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3481, allocations: 330.8 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.3482, allocations: 31.98 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3484, allocations: 143.5 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.3486, allocations: 109.9 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3486, allocations: 3.938 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002748/0.3489, allocations: 163.8 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3489, allocations: 8 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3489, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.349, allocations: 4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.349, allocations: 15.98 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3491, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.3493, allocations: 35.77 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3493, allocations: 4.156 kB / 1.072 GB, free: 5.645 MB / 0.8262 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.0001506/0.3495, allocations: 147.6 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3495, allocations: 15.81 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.3496, allocations: 21.53 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3496, allocations: 3.984 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3496, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3496, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.3503, allocations: 470.2 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3503, allocations: 3.938 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.3503, allocations: 11.94 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3503, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3504, allocations: 8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3504, allocations: 3.938 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3504, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.3507, allocations: 228.2 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.3507, allocations: 96.86 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3508, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3509, allocations: 23.91 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.351, allocations: 19.92 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.351, allocations: 7.984 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001665/0.3512, allocations: 144.2 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3512, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000338/0.3516, allocations: 55.89 kB / 1.074 GB, free: 4.305 MB / 0.8262 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.000433/0.352, allocations: 170.4 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.3523, allocations: 115.8 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3523, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3524, allocations: 49.05 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3529, allocations: 56.27 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.3536, allocations: 335.5 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.354, allocations: 0.7164 MB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.679e-05/0.3541, allocations: 29.53 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.3542, allocations: 27.42 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3542, allocations: 0 / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of Templates: time 0.00848/0.3627, allocations: 3.526 MB / 1.079 GB, free: 15.3 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches