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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001435/0.001438, allocations: 108 kB / 15.6 MB, free: 132 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.001713/0.001713, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001166, allocations: 67.39 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3377, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003291/0.341, allocations: 1.738 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3426, allocations: 0.9045 MB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.3427, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.343, allocations: 27.72 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.3434, allocations: 119.4 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3438, allocations: 139.7 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.3441, allocations: 243.5 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3443, allocations: 41.64 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3444, allocations: 115.6 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01165/0.3561, allocations: 2.002 MB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3562, allocations: 20 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3564, allocations: 43.86 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.3565, allocations: 39.89 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3566, allocations: 99.55 kB / 1.074 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.357, allocations: 207.4 kB / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.357, allocations: 0 / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3571, allocations: 0 / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.3571, allocations: 0 / 1.074 GB, free: 5.246 MB / 0.8262 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.0009577/0.358, allocations: 0.5604 MB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3581, allocations: 8.031 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.016e-05/0.3582, allocations: 28.66 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3585, allocations: 235.6 kB / 1.075 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3585, allocations: 12 kB / 1.075 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.3586, allocations: 19.98 kB / 1.075 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3588, allocations: 91.14 kB / 1.075 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3588, allocations: 0 / 1.075 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3588, allocations: 4 kB / 1.075 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3589, allocations: 0 / 1.075 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.359, allocations: 55.92 kB / 1.075 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.3598, allocations: 468.3 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.3602, allocations: 134.7 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/0.3603, allocations: 36.84 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3603, allocations: 3.938 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.3606, allocations: 119.2 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3606, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003319/0.3609, allocations: 159.6 kB / 1.076 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.361, allocations: 63.33 kB / 1.076 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3612, allocations: 200.3 kB / 1.076 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3612, allocations: 33.7 kB / 1.076 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.3613, allocations: 124.5 kB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3613, allocations: 35.55 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.3614, allocations: 65.61 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3616, allocations: 326.8 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.3616, allocations: 39.97 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.3619, allocations: 121.1 kB / 1.077 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.362, allocations: 106.3 kB / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.362, allocations: 0 / 1.077 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002432/0.3623, allocations: 155.6 kB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3623, allocations: 4 kB / 1.077 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3623, allocations: 4.109 kB / 1.077 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3623, allocations: 8 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.3624, allocations: 23.92 kB / 1.077 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3624, allocations: 4 kB / 1.077 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.3626, allocations: 15.92 kB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3627, allocations: 12 kB / 1.077 GB, free: 1.75 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.0001224/0.3628, allocations: 139.5 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3628, allocations: 19.72 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.3629, allocations: 29.86 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3629, allocations: 0 / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3629, allocations: 4 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3629, allocations: 3.938 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.3635, allocations: 486.1 kB / 1.078 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3635, allocations: 4 kB / 1.078 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.3636, allocations: 11.92 kB / 1.078 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3636, allocations: 8 kB / 1.078 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3636, allocations: 4 kB / 1.078 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3636, allocations: 3.938 kB / 1.078 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3636, allocations: 0 / 1.078 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3638, allocations: 229.8 kB / 1.078 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3639, allocations: 88.92 kB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.3639, allocations: 8 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3641, allocations: 19.86 kB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.3641, allocations: 23.97 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3642, allocations: 7.984 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000109/0.3643, allocations: 135.2 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3643, allocations: 0 / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003086/0.3646, allocations: 51.92 kB / 1.078 GB, free: 404 kB / 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.0003483/0.365, allocations: 165.6 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.3652, allocations: 120.5 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3652, allocations: 0 / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.3653, allocations: 51.92 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3657, allocations: 62.2 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.3663, allocations: 291.5 kB / 1.079 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3666, allocations: 0.7242 MB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.131e-05/0.3666, allocations: 25.53 kB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.3667, allocations: 27.42 kB / 1.08 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3667, allocations: 0 / 1.08 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.007431/0.3742, allocations: 3.717 MB / 1.083 GB, free: 11.24 MB / 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/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