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.00124/0.00124, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001244/0.001244, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 68.86 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3385, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004915/0.3435, allocations: 1.741 MB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3454, allocations: 0.8968 MB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.3457, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.3459, allocations: 27.72 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.3464, allocations: 119.4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.347, allocations: 146.3 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.3474, allocations: 243.3 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3476, allocations: 37.67 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.3478, allocations: 107.7 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.3601, allocations: 2.016 MB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3602, allocations: 16 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.3604, allocations: 35.98 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.3605, allocations: 39.84 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3607, allocations: 99.55 kB / 1.07 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3611, allocations: 207.4 kB / 1.07 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3612, allocations: 3.938 kB / 1.07 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3612, allocations: 0 / 1.07 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.3612, allocations: 0 / 1.07 GB, free: 9.844 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001003/0.3622, allocations: 0.5527 MB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3622, allocations: 8.625 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.3624, allocations: 24.75 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.3627, allocations: 244.7 kB / 1.071 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3627, allocations: 8 kB / 1.071 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.3628, allocations: 12 kB / 1.071 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.363, allocations: 85.66 kB / 1.071 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.363, allocations: 7.938 kB / 1.071 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.363, allocations: 7.984 kB / 1.071 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3631, allocations: 0 / 1.071 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3632, allocations: 51.92 kB / 1.071 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009254/0.3641, allocations: 468.3 kB / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004634/0.3646, allocations: 130.8 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.3647, allocations: 48.78 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3647, allocations: 0 / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.365, allocations: 122.2 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.3651, allocations: 0 / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0003847/0.3654, allocations: 161.5 kB / 1.072 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3655, allocations: 59.28 kB / 1.072 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3657, allocations: 196.3 kB / 1.072 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.3658, allocations: 33.7 kB / 1.072 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.3659, allocations: 124.5 kB / 1.072 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.3659, allocations: 35.53 kB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.366, allocations: 61.69 kB / 1.072 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3662, allocations: 330.8 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.3663, allocations: 31.98 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.3666, allocations: 131.5 kB / 1.073 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3667, allocations: 104.2 kB / 1.073 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3667, allocations: 0 / 1.073 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002627/0.367, allocations: 159.6 kB / 1.073 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.367, allocations: 4 kB / 1.073 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3671, allocations: 4.125 kB / 1.073 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3671, allocations: 4 kB / 1.073 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.3671, allocations: 12 kB / 1.073 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3672, allocations: 7.938 kB / 1.073 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.3674, allocations: 31.81 kB / 1.073 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3674, allocations: 4 kB / 1.073 GB, free: 6.355 MB / 0.8419 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.0001523/0.3676, allocations: 135.5 kB / 1.073 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3676, allocations: 15.81 kB / 1.073 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.3677, allocations: 25.86 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3677, allocations: 4 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3677, allocations: 0 / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3677, allocations: 0 / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.3685, allocations: 0.4941 MB / 1.074 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3685, allocations: 0 / 1.074 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.3685, allocations: 3.938 kB / 1.074 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3686, allocations: 8 kB / 1.074 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3686, allocations: 0 / 1.074 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3686, allocations: 3.938 kB / 1.074 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3686, allocations: 0 / 1.074 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3688, allocations: 230.5 kB / 1.074 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3689, allocations: 92.92 kB / 1.074 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.369, allocations: 7.984 kB / 1.074 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3691, allocations: 19.92 kB / 1.074 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.3692, allocations: 23.97 kB / 1.074 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.3692, allocations: 8 kB / 1.074 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3694, allocations: 152.2 kB / 1.074 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3694, allocations: 0 / 1.074 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003249/0.3697, allocations: 39.94 kB / 1.074 GB, free: 5.008 MB / 0.8419 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.0004199/0.3701, allocations: 176.2 kB / 1.074 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3704, allocations: 112 kB / 1.074 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3705, allocations: 4.062 kB / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.3706, allocations: 51.92 kB / 1.074 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.371, allocations: 52.77 kB / 1.075 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.3717, allocations: 321 kB / 1.075 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.372, allocations: 0.7281 MB / 1.076 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.3721, allocations: 23.42 kB / 1.076 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3721, allocations: 0 / 1.076 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of Templates: time 0.006003/0.3781, allocations: 3.218 MB / 1.079 GB, free: 328 kB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time