Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9959/0.9959, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.81/1.81, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.849e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002426/0.002455, allocations: 1.812 MB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003689, allocations: 0.9273 MB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.003775, allocations: 5.656 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.003956, allocations: 19.8 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.004333, allocations: 127.2 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.004655, allocations: 156.9 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.004917, allocations: 247.3 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.005028, allocations: 25.73 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01669/0.02172, allocations: 6.475 MB / 0.8211 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.02196, allocations: 95.73 kB / 0.8212 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.02201, allocations: 16.62 kB / 0.8212 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.02211, allocations: 35.94 kB / 0.8212 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.02217, allocations: 40.64 kB / 0.8212 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.02226, allocations: 59.86 kB / 0.8213 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.02261, allocations: 184.3 kB / 0.8215 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.02261, allocations: 0 / 0.8215 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.02261, allocations: 0 / 0.8215 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.02262, allocations: 5.281 kB / 0.8215 GB, free: 9.926 MB / 0.7761 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.0006757/0.02329, allocations: 0.5741 MB / 0.822 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.02333, allocations: 12.02 kB / 0.8221 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.02341, allocations: 26.41 kB / 0.8221 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.02364, allocations: 184.9 kB / 0.8223 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.02366, allocations: 12.31 kB / 0.8223 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.02369, allocations: 15.94 kB / 0.8223 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.02383, allocations: 81.27 kB / 0.8224 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.02384, allocations: 0 / 0.8224 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.02385, allocations: 3.984 kB / 0.8224 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.02386, allocations: 4 kB / 0.8224 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.02393, allocations: 35.06 kB / 0.8224 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.02455, allocations: 419.3 kB / 0.8228 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.02481, allocations: 113.2 kB / 0.8229 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.02485, allocations: 27.67 kB / 0.8229 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.02486, allocations: 1.062 kB / 0.8229 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.025, allocations: 97 kB / 0.823 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.494e-06/0.025, allocations: 1.094 kB / 0.823 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002697/0.02527, allocations: 153.4 kB / 0.8232 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.02531, allocations: 55.34 kB / 0.8232 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.02546, allocations: 246.8 kB / 0.8235 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.02549, allocations: 37.69 kB / 0.8235 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.02557, allocations: 167.2 kB / 0.8237 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.0256, allocations: 32.27 kB / 0.8237 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.02566, allocations: 67.91 kB / 0.8238 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.02578, allocations: 0.5001 MB / 0.8242 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.02583, allocations: 25.36 kB / 0.8243 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.02603, allocations: 244.6 kB / 0.8245 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.956e-05/0.02613, allocations: 99.61 kB / 0.8246 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.02613, allocations: 0 / 0.8246 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001784/0.02631, allocations: 145.9 kB / 0.8247 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.02632, allocations: 8.656 kB / 0.8247 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.02633, allocations: 3.5 kB / 0.8247 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.02634, allocations: 4 kB / 0.8247 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.02641, allocations: 23.92 kB / 0.8248 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.02641, allocations: 0 / 0.8248 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.02652, allocations: 27.88 kB / 0.8248 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.02652, allocations: 4 kB / 0.8248 GB, free: 6.246 MB / 0.7761 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.0001011/0.02663, allocations: 178.5 kB / 0.825 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.02665, allocations: 27.8 kB / 0.825 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.02668, allocations: 26.45 kB / 0.825 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02669, allocations: 4 kB / 0.825 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02669, allocations: 1.656 kB / 0.825 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.02669, allocations: 0 / 0.825 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.02713, allocations: 457.1 kB / 0.8255 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.02713, allocations: 8.125 kB / 0.8255 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.02715, allocations: 8 kB / 0.8255 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.02715, allocations: 0 / 0.8255 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.02716, allocations: 3.984 kB / 0.8255 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.02716, allocations: 0 / 0.8255 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02717, allocations: 4 kB / 0.8255 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.02734, allocations: 271.7 kB / 0.8257 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.02736, allocations: 23.83 kB / 0.8258 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.02738, allocations: 0 / 0.8258 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.02744, allocations: 15.98 kB / 0.8258 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.02751, allocations: 23.97 kB / 0.8258 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.02753, allocations: 7.984 kB / 0.8258 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.02761, allocations: 170.3 kB / 0.826 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02761, allocations: 0 / 0.826 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002293/0.02784, allocations: 51.94 kB / 0.826 GB, free: 4.926 MB / 0.7761 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.0003584/0.0282, allocations: 184 kB / 0.8262 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.02839, allocations: 99.36 kB / 0.8263 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02839, allocations: 4 kB / 0.8263 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.02845, allocations: 51.59 kB / 0.8264 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.02874, allocations: 55.95 kB / 0.8264 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.02918, allocations: 287 kB / 0.8267 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.02923, allocations: 72 kB / 0.8267 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.0293, allocations: 29.55 kB / 0.8268 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.02934, allocations: 24.5 kB / 0.8268 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.02935, allocations: 4 kB / 0.8268 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.006806/0.03615, allocations: 4.252 MB / 0.831 GB, free: 15.89 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157009380869567]