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.009488/0.009488, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.00217/0.00217, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.477/2.477, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 61.62 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003494/0.332, allocations: 1.744 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3336, allocations: 0.8929 MB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.3337, allocations: 8 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.3339, allocations: 27.72 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.3343, allocations: 115.5 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.3347, allocations: 157.6 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.335, allocations: 243.3 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3351, allocations: 33.67 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3353, allocations: 111.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.3469, allocations: 2.032 MB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.347, allocations: 20 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.3472, allocations: 43.98 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.3473, allocations: 35.84 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.3475, allocations: 95.48 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.3479, allocations: 215.3 kB / 1.094 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3479, allocations: 0 / 1.094 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3479, allocations: 0 / 1.094 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3479, allocations: 4 kB / 1.094 GB, free: 12.3 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.0008864/0.3488, allocations: 0.5527 MB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3488, allocations: 8.031 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.3489, allocations: 20.75 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3492, allocations: 243.5 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3493, allocations: 11.94 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.3493, allocations: 20 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3495, allocations: 93.59 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3495, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3495, allocations: 3.984 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3496, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3497, allocations: 59.92 kB / 1.095 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.3505, allocations: 468.2 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.3509, allocations: 130.7 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.351, allocations: 44.78 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.351, allocations: 4 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.3513, allocations: 110.4 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3513, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003405/0.3516, allocations: 165.4 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3517, allocations: 51.41 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3519, allocations: 206.2 kB / 1.096 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.3519, allocations: 37.7 kB / 1.096 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.352, allocations: 120.5 kB / 1.096 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3521, allocations: 39.53 kB / 1.096 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.3522, allocations: 53.69 kB / 1.096 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3523, allocations: 330.8 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.3524, allocations: 35.98 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3526, allocations: 128.7 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3527, allocations: 92.23 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3527, allocations: 0 / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000234/0.353, allocations: 163.9 kB / 1.097 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.353, allocations: 4 kB / 1.097 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.353, allocations: 7.938 kB / 1.097 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.353, allocations: 0 / 1.097 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.3531, allocations: 23.88 kB / 1.097 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3531, allocations: 4 kB / 1.097 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3533, allocations: 31.81 kB / 1.097 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3534, allocations: 4.125 kB / 1.097 GB, free: 8.809 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.0001321/0.3535, allocations: 139.5 kB / 1.097 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3535, allocations: 19.75 kB / 1.097 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.3536, allocations: 21.86 kB / 1.097 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3536, allocations: 4 kB / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3536, allocations: 0 / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3536, allocations: 0 / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.3542, allocations: 498 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3543, allocations: 4 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.3543, allocations: 0 / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3543, allocations: 8 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3543, allocations: 4 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3543, allocations: 3.938 kB / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3543, allocations: 0 / 1.097 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3545, allocations: 235 kB / 1.098 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.3546, allocations: 92.92 kB / 1.098 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3547, allocations: 11.98 kB / 1.098 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3548, allocations: 11.92 kB / 1.098 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.3549, allocations: 23.97 kB / 1.098 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.3549, allocations: 8 kB / 1.098 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001171/0.355, allocations: 136.5 kB / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.355, allocations: 0 / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003086/0.3553, allocations: 47.94 kB / 1.098 GB, free: 7.473 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.0003642/0.3557, allocations: 176.1 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3559, allocations: 102.6 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.356, allocations: 4 kB / 1.098 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.356, allocations: 51.97 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3565, allocations: 45.39 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.357, allocations: 295.6 kB / 1.099 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3573, allocations: 0.7241 MB / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.951e-05/0.3574, allocations: 17.55 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.3575, allocations: 23.42 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3575, allocations: 4 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of Templates: time 0.007661/0.3651, allocations: 3.835 MB / 1.103 GB, free: 2.215 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