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.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.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.001409/0.001409, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 461.8 MB / 0.7348 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.98 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3198, allocations: 157.4 MB / 1.053 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003875/0.3237, allocations: 1.895 MB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3257, allocations: 0.9514 MB / 1.056 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.3258, allocations: 3.938 kB / 1.056 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.3261, allocations: 19.84 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.3266, allocations: 91.61 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.3271, allocations: 150.5 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.3274, allocations: 227.4 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3276, allocations: 29.67 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.3278, allocations: 103.7 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02735/0.3551, allocations: 1.869 MB / 1.058 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3553, allocations: 8 kB / 1.058 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.3554, allocations: 32 kB / 1.058 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3556, allocations: 39.81 kB / 1.058 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3557, allocations: 83.52 kB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3561, allocations: 139.8 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3561, allocations: 0 / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3561, allocations: 0 / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.3561, allocations: 0 / 1.058 GB, free: 3.203 MB / 0.8106 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.001115/0.3572, allocations: 0.5605 MB / 1.059 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3573, allocations: 11.97 kB / 1.059 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.3574, allocations: 24.69 kB / 1.059 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.3578, allocations: 243.5 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3578, allocations: 8 kB / 1.059 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.3579, allocations: 16 kB / 1.059 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3581, allocations: 91.02 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3581, allocations: 4 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3581, allocations: 3.938 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.3582, allocations: 0 / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3583, allocations: 59.92 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.3592, allocations: 460.4 kB / 1.06 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3597, allocations: 142.6 kB / 1.06 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.3598, allocations: 36.86 kB / 1.06 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3598, allocations: 0 / 1.06 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.3601, allocations: 119.2 kB / 1.06 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3601, allocations: 0 / 1.06 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0004051/0.3605, allocations: 161.5 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3605, allocations: 55.34 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3608, allocations: 196.3 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.3608, allocations: 33.7 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3609, allocations: 124.5 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.361, allocations: 39.55 kB / 1.061 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3611, allocations: 57.67 kB / 1.061 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3613, allocations: 326.8 kB / 1.061 GB, free: 248 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3614, allocations: 35.98 kB / 1.061 GB, free: 212 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.3616, allocations: 128.3 kB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3618, allocations: 100.3 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3618, allocations: 3.938 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002553/0.3621, allocations: 155.5 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3621, allocations: 8 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3621, allocations: 7.984 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3621, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.3622, allocations: 19.98 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.3622, allocations: 7.938 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3625, allocations: 27.83 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3625, allocations: 4 kB / 1.061 GB, free: 15.7 MB / 0.8262 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.000135/0.3626, allocations: 135.5 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3627, allocations: 23.8 kB / 1.062 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.3627, allocations: 17.88 kB / 1.062 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3627, allocations: 4 kB / 1.062 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3627, allocations: 0 / 1.062 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3627, allocations: 0 / 1.062 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.3635, allocations: 497.1 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3635, allocations: 4 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.3635, allocations: 7.938 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3635, allocations: 4 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3635, allocations: 4 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3635, allocations: 3.938 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3635, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3638, allocations: 231.2 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.3639, allocations: 92.91 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3639, allocations: 12 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.364, allocations: 15.86 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.3641, allocations: 23.97 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3642, allocations: 4 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001366/0.3643, allocations: 148.2 kB / 1.063 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3643, allocations: 3.938 kB / 1.063 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003172/0.3646, allocations: 47.92 kB / 1.063 GB, free: 14.36 MB / 0.8262 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.0003587/0.365, allocations: 163.7 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.3652, allocations: 103.9 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.3653, allocations: 4 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3654, allocations: 51.92 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3658, allocations: 57.12 kB / 1.063 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.3665, allocations: 363 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3668, allocations: 0.7206 MB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.3669, allocations: 23.42 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.3669, allocations: 0 / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.005676/0.3725, allocations: 3.201 MB / 1.067 GB, free: 9.668 MB / 0.8262 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