Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.007242/0.007241, allocations: 101 kB / 15.73 MB, free: 6.445 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.001127/0.001127, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.94 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003493/0.3401, allocations: 1.736 MB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3421, allocations: 0.893 MB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.3422, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.3425, allocations: 27.72 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.343, allocations: 123.4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.3435, allocations: 158.6 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.3438, allocations: 239.3 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3439, allocations: 33.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3441, allocations: 111.7 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/0.356, allocations: 2.039 MB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.3561, allocations: 20 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.3563, allocations: 40 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.3564, allocations: 39.83 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.3565, allocations: 91.5 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.357, allocations: 215.2 kB / 1.094 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.357, allocations: 0 / 1.094 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.357, allocations: 0 / 1.094 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.357, allocations: 0 / 1.094 GB, free: 12.28 MB / 0.8575 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.0009931/0.358, allocations: 0.5642 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3581, allocations: 8.031 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3582, allocations: 24.84 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3585, allocations: 243.6 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3586, allocations: 8 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.3586, allocations: 16 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3588, allocations: 97.55 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3588, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3589, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3589, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.359, allocations: 59.97 kB / 1.095 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.3599, allocations: 464.3 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.3604, allocations: 138.7 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.3604, allocations: 40.84 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3605, allocations: 7.922 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.3607, allocations: 111.3 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.3607, allocations: 0 / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.000366/0.3611, allocations: 166.8 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3612, allocations: 51.41 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3614, allocations: 202.3 kB / 1.096 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3614, allocations: 33.7 kB / 1.096 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.3615, allocations: 124.5 kB / 1.096 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3616, allocations: 39.69 kB / 1.096 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.3617, allocations: 57.67 kB / 1.096 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3618, allocations: 334.8 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.3619, allocations: 39.98 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.3621, allocations: 128.7 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3623, allocations: 100.2 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3623, allocations: 0 / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002589/0.3625, allocations: 160.3 kB / 1.097 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3626, allocations: 4 kB / 1.097 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3626, allocations: 4 kB / 1.097 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3626, allocations: 4.125 kB / 1.097 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.3627, allocations: 19.94 kB / 1.097 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3627, allocations: 4 kB / 1.097 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3629, allocations: 31.86 kB / 1.097 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.363, allocations: 4 kB / 1.097 GB, free: 8.766 MB / 0.8575 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.0001269/0.3631, allocations: 135.5 kB / 1.097 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3631, allocations: 19.86 kB / 1.097 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.3632, allocations: 21.86 kB / 1.097 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3632, allocations: 11.94 kB / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3632, allocations: 0 / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3632, allocations: 0 / 1.097 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.3639, allocations: 489 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3639, allocations: 7.984 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.364, allocations: 4 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.364, allocations: 4 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.364, allocations: 4 kB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.364, allocations: 3.938 kB / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.364, allocations: 0 / 1.097 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3642, allocations: 227.4 kB / 1.098 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.3643, allocations: 96.91 kB / 1.098 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.3644, allocations: 11.94 kB / 1.098 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3645, allocations: 15.91 kB / 1.098 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.3646, allocations: 23.98 kB / 1.098 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.3646, allocations: 11.98 kB / 1.098 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000132/0.3648, allocations: 136.5 kB / 1.098 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3648, allocations: 0 / 1.098 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003268/0.3651, allocations: 47.94 kB / 1.098 GB, free: 7.426 MB / 0.8575 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.0003591/0.3655, allocations: 174 kB / 1.098 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3657, allocations: 91.91 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3657, allocations: 4.25 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.3658, allocations: 55.92 kB / 1.098 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3663, allocations: 65.8 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.3669, allocations: 287.1 kB / 1.099 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3672, allocations: 0.7319 MB / 1.099 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.724e-05/0.3673, allocations: 17.55 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.3674, allocations: 23.42 kB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3674, allocations: 0 / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of Templates: time 0.008239/0.3756, allocations: 3.727 MB / 1.103 GB, free: 2.273 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches