Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001285/0.001285, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001955/0.001955, allocations: 167 kB / 24.86 MB, free: 9.289 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.906/1.906, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.9844 kB / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.187e-05, allocations: 2.938 kB / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.0027/0.002732, allocations: 1.784 MB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.004103, allocations: 0.9203 MB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004208, allocations: 7.938 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.004399, allocations: 27.72 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.004781, allocations: 124.2 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.005139, allocations: 152.6 kB / 0.8157 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.005434, allocations: 247.3 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.005581, allocations: 32.08 kB / 0.816 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01758/0.02316, allocations: 6.347 MB / 0.8222 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.02341, allocations: 95.75 kB / 0.8222 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.02345, allocations: 16 kB / 0.8223 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.02357, allocations: 37.02 kB / 0.8223 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.02364, allocations: 39.83 kB / 0.8223 GB, free: 10 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.02373, allocations: 63.81 kB / 0.8224 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.02414, allocations: 180 kB / 0.8226 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.02415, allocations: 0.875 kB / 0.8226 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.02415, allocations: 0 / 0.8226 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.02416, allocations: 0 / 0.8226 GB, free: 9.766 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006771/0.02483, allocations: 0.5831 MB / 0.8231 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.02488, allocations: 12.03 kB / 0.8231 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.02495, allocations: 28.8 kB / 0.8232 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.02516, allocations: 182 kB / 0.8233 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.02518, allocations: 12.33 kB / 0.8234 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.0252, allocations: 21.03 kB / 0.8234 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.02535, allocations: 100 kB / 0.8235 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.02536, allocations: 0 / 0.8235 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.02537, allocations: 5.031 kB / 0.8235 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.02538, allocations: 4 kB / 0.8235 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.02543, allocations: 31.31 kB / 0.8235 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.026, allocations: 0.5092 MB / 0.824 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.02612, allocations: 95.83 kB / 0.8241 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.02615, allocations: 31.42 kB / 0.8241 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.02616, allocations: 4 kB / 0.8241 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.02629, allocations: 115.6 kB / 0.8242 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.0263, allocations: 0 / 0.8242 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002314/0.02653, allocations: 129.5 kB / 0.8244 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.02658, allocations: 92.98 kB / 0.8245 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.02673, allocations: 247.3 kB / 0.8247 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.02675, allocations: 33.7 kB / 0.8247 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.02684, allocations: 167.2 kB / 0.8249 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.02686, allocations: 35.72 kB / 0.8249 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.02693, allocations: 64.25 kB / 0.825 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.02707, allocations: 0.5079 MB / 0.8255 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.0271, allocations: 15.98 kB / 0.8255 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.02731, allocations: 264.1 kB / 0.8257 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.821e-05/0.02741, allocations: 113.7 kB / 0.8259 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02741, allocations: 0 / 0.8259 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000157/0.02757, allocations: 136 kB / 0.826 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.02758, allocations: 12.16 kB / 0.826 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.02759, allocations: 0 / 0.826 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.0276, allocations: 4 kB / 0.826 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.02768, allocations: 27.92 kB / 0.826 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.02768, allocations: 4 kB / 0.826 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.02779, allocations: 23.88 kB / 0.826 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.0278, allocations: 8 kB / 0.8261 GB, free: 5.852 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001124/0.02791, allocations: 178.6 kB / 0.8262 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.02794, allocations: 31.8 kB / 0.8263 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.02798, allocations: 21.47 kB / 0.8263 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.02798, allocations: 4 kB / 0.8263 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02798, allocations: 0 / 0.8263 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.02799, allocations: 3.984 kB / 0.8263 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.02838, allocations: 397.7 kB / 0.8267 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02838, allocations: 4 kB / 0.8267 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.0284, allocations: 7.938 kB / 0.8267 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02841, allocations: 0 / 0.8267 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.02841, allocations: 4 kB / 0.8267 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02842, allocations: 4 kB / 0.8267 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.02842, allocations: 4 kB / 0.8267 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.02859, allocations: 266.8 kB / 0.8269 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.02863, allocations: 23.8 kB / 0.827 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.02865, allocations: 7.984 kB / 0.827 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.02872, allocations: 7.984 kB / 0.827 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.02877, allocations: 19.97 kB / 0.827 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.02879, allocations: 8 kB / 0.827 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.588e-05/0.02886, allocations: 175.9 kB / 0.8272 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.02886, allocations: 3.938 kB / 0.8272 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002305/0.02909, allocations: 43.94 kB / 0.8272 GB, free: 4.594 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003447/0.02944, allocations: 182.3 kB / 0.8274 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.0296, allocations: 79.27 kB / 0.8275 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0296, allocations: 0 / 0.8275 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.02965, allocations: 43.66 kB / 0.8275 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.02994, allocations: 63.56 kB / 0.8276 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.03035, allocations: 291.1 kB / 0.8278 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.0304, allocations: 79.84 kB / 0.8279 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.197e-05/0.03046, allocations: 21.62 kB / 0.8279 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.03063, allocations: 146.1 kB / 0.8281 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.03063, allocations: 0 / 0.8281 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of Templates: time 0.006447/0.03708, allocations: 4.203 MB / 0.8322 GB, free: 15.53 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.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.2303454778157175]