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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001379/0.00138, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.06 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003459/0.3659, allocations: 1.886 MB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3675, allocations: 0.959 MB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.3676, allocations: 4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.3678, allocations: 23.84 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3681, allocations: 99.59 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.3684, allocations: 135.8 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.3687, allocations: 235.3 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3688, allocations: 29.67 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3689, allocations: 103.6 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02722/0.3961, allocations: 1.855 MB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3963, allocations: 12 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.3965, allocations: 35.92 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.3966, allocations: 35.83 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3967, allocations: 79.56 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.3972, allocations: 199.4 kB / 1.058 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3972, allocations: 3.984 kB / 1.058 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3972, allocations: 0 / 1.058 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3972, allocations: 0 / 1.058 GB, free: 3.617 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.001159/0.3984, allocations: 0.5578 MB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.3984, allocations: 8.031 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3986, allocations: 20.75 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.399, allocations: 248.6 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.399, allocations: 11.98 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.399, allocations: 12 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3993, allocations: 93.59 kB / 1.059 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3993, allocations: 4 kB / 1.059 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3993, allocations: 4 kB / 1.059 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3993, allocations: 0 / 1.059 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3995, allocations: 51.92 kB / 1.059 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009473/0.4004, allocations: 472.3 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.4009, allocations: 126.7 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.401, allocations: 48.78 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.401, allocations: 0 / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4013, allocations: 111.2 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.4013, allocations: 0 / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003987/0.4017, allocations: 168.7 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4017, allocations: 59.34 kB / 1.06 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4019, allocations: 196.3 kB / 1.06 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.402, allocations: 37.69 kB / 1.06 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.4021, allocations: 120.5 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.4021, allocations: 31.55 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4022, allocations: 65.61 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4023, allocations: 334.8 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.4024, allocations: 31.98 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.4027, allocations: 133.5 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.4028, allocations: 98.56 kB / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4028, allocations: 0 / 1.061 GB, free: 364 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002604/0.4031, allocations: 157.3 kB / 1.061 GB, free: 200 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4031, allocations: 7.938 kB / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.4031, allocations: 7.984 kB / 1.061 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4031, allocations: 0 / 1.061 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.4032, allocations: 15.94 kB / 1.061 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.4032, allocations: 4 kB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.4034, allocations: 27.83 kB / 1.061 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4035, allocations: 4 kB / 1.061 GB, free: 132 kB / 0.8106 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.0001609/0.4036, allocations: 149.3 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.4037, allocations: 15.81 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.4037, allocations: 21.86 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4037, allocations: 4 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4037, allocations: 0 / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4038, allocations: 0 / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000735/0.4045, allocations: 498.1 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4045, allocations: 3.938 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.4045, allocations: 7.984 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4046, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4046, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4046, allocations: 3.938 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4046, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4048, allocations: 239.2 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.4049, allocations: 88.92 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4049, allocations: 4 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.4051, allocations: 23.91 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.4052, allocations: 19.92 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4052, allocations: 7.984 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001334/0.4053, allocations: 144.2 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4054, allocations: 0 / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003265/0.4057, allocations: 47.94 kB / 1.062 GB, free: 14.78 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.0004003/0.4061, allocations: 183.4 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4064, allocations: 95.91 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4064, allocations: 0 / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.4065, allocations: 55.91 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.4069, allocations: 49.34 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.4076, allocations: 333.1 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.408, allocations: 0.7245 MB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.727e-05/0.4081, allocations: 25.42 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.4082, allocations: 27.42 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4082, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.009112/0.4173, allocations: 3.472 MB / 1.067 GB, free: 9.836 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches