Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006039/0.006039, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001467/0.001467, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3211, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002892/0.324, allocations: 1.748 MB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3254, allocations: 0.8972 MB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3255, allocations: 4 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.3257, allocations: 23.73 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.3261, allocations: 119.4 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.3264, allocations: 153.7 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.3267, allocations: 243.4 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3268, allocations: 33.67 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.327, allocations: 119.6 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009942/0.3369, allocations: 1.697 MB / 1.213 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.337, allocations: 20 kB / 1.213 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3372, allocations: 35.98 kB / 1.213 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.3372, allocations: 39.84 kB / 1.213 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3374, allocations: 91.56 kB / 1.213 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.3378, allocations: 219.3 kB / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3378, allocations: 0 / 1.213 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3378, allocations: 3.938 kB / 1.213 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3379, allocations: 0 / 1.213 GB, free: 4.664 MB / 0.9669 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.0008707/0.3387, allocations: 0.5527 MB / 1.214 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3388, allocations: 12.62 kB / 1.214 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.3389, allocations: 16.75 kB / 1.214 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3392, allocations: 247.9 kB / 1.214 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.3392, allocations: 19.92 kB / 1.214 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.3392, allocations: 15.98 kB / 1.214 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3395, allocations: 93.59 kB / 1.214 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3395, allocations: 0 / 1.214 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3395, allocations: 4 kB / 1.214 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3395, allocations: 4 kB / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3397, allocations: 51.97 kB / 1.214 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3407, allocations: 452.4 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.3413, allocations: 142.7 kB / 1.215 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/0.3414, allocations: 32.84 kB / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3414, allocations: 0 / 1.215 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.3418, allocations: 123.2 kB / 1.215 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.3418, allocations: 0 / 1.215 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0004371/0.3422, allocations: 159.1 kB / 1.215 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3423, allocations: 71.27 kB / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3425, allocations: 189.3 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.3426, allocations: 33.7 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3427, allocations: 120.5 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3428, allocations: 39.55 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.3429, allocations: 57.67 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.343, allocations: 326.8 kB / 1.216 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.3431, allocations: 35.98 kB / 1.216 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.3434, allocations: 126 kB / 1.216 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3436, allocations: 110.6 kB / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3436, allocations: 3.938 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002788/0.3439, allocations: 153.3 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3439, allocations: 14 kB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3439, allocations: 7.984 kB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.344, allocations: 4 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.344, allocations: 23.86 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.344, allocations: 4 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3443, allocations: 23.83 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3443, allocations: 8 kB / 1.216 GB, free: 1.164 MB / 0.9669 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.000141/0.3444, allocations: 143.5 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3445, allocations: 19.81 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.3445, allocations: 21.88 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3445, allocations: 3.984 kB / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3446, allocations: 0 / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3446, allocations: 0 / 1.216 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.3452, allocations: 494.2 kB / 1.217 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3452, allocations: 0 / 1.217 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.3453, allocations: 7.984 kB / 1.217 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3453, allocations: 4 kB / 1.217 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3453, allocations: 4 kB / 1.217 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3453, allocations: 7.938 kB / 1.217 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3453, allocations: 0 / 1.217 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3455, allocations: 233.6 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.3456, allocations: 88.92 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3456, allocations: 4 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3458, allocations: 19.92 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.3459, allocations: 19.97 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3459, allocations: 7.984 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001331/0.346, allocations: 143.3 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.346, allocations: 0 / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003119/0.3463, allocations: 55.89 kB / 1.217 GB, free: 15.82 MB / 0.9825 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.0003492/0.3467, allocations: 157.2 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3469, allocations: 110.5 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.347, allocations: 4.062 kB / 1.218 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.3471, allocations: 47.98 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3475, allocations: 62.52 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.3481, allocations: 319.2 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3484, allocations: 0.7203 MB / 1.219 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.63e-05/0.3485, allocations: 29.45 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.3486, allocations: 23.44 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of SimCode: time 1.9e-07/0.3486, allocations: 0 / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.007958/0.3565, allocations: 3.728 MB / 1.222 GB, free: 10.62 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches