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.001365/0.001365, allocations: 87.58 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.001473/0.001473, allocations: 161 kB / 23.82 MB, free: 0.75 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.844/1.844, 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.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.713e-06/1.713e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.038e-05, allocations: 5.734 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.006685/0.006715, allocations: 1.8 MB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.008184, allocations: 0.9357 MB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.008264, allocations: 0 / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.008472, allocations: 35.66 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.008868, allocations: 125.1 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.009221, allocations: 155.6 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.009514, allocations: 239.3 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.009643, allocations: 36.09 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.009837, allocations: 147.7 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.02037, allocations: 3.186 MB / 0.818 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.02045, allocations: 20.88 kB / 0.818 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.02057, allocations: 35.94 kB / 0.818 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.02064, allocations: 48.62 kB / 0.8181 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.02074, allocations: 63.81 kB / 0.8182 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.0211, allocations: 199.8 kB / 0.8183 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.0211, allocations: 0 / 0.8183 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.02111, allocations: 1.375 kB / 0.8183 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.02111, allocations: 0 / 0.8183 GB, free: 12.02 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.0007573/0.02187, allocations: 0.5821 MB / 0.8189 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.02191, allocations: 8.031 kB / 0.8189 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.022, allocations: 29.52 kB / 0.819 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.02228, allocations: 198.3 kB / 0.8191 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.0223, allocations: 16.33 kB / 0.8192 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.02234, allocations: 20.84 kB / 0.8192 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.02252, allocations: 99.94 kB / 0.8193 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.02253, allocations: 0.8438 kB / 0.8193 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.02254, allocations: 4 kB / 0.8193 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.02255, allocations: 0 / 0.8193 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.02263, allocations: 42.81 kB / 0.8193 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.02336, allocations: 0.5505 MB / 0.8199 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.02351, allocations: 103.6 kB / 0.82 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.02356, allocations: 35.42 kB / 0.82 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.02358, allocations: 192 / 0.82 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.02374, allocations: 121.3 kB / 0.8201 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.02374, allocations: 0 / 0.8201 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0003055/0.02404, allocations: 151.8 kB / 0.8202 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.02409, allocations: 81.11 kB / 0.8203 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.0243, allocations: 249.8 kB / 0.8206 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.02433, allocations: 37.69 kB / 0.8206 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.02442, allocations: 167.3 kB / 0.8208 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.02445, allocations: 31.75 kB / 0.8208 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.02455, allocations: 71.31 kB / 0.8209 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.02468, allocations: 0.5001 MB / 0.8213 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.02472, allocations: 20.48 kB / 0.8214 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.02495, allocations: 251.2 kB / 0.8216 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.02511, allocations: 112 kB / 0.8217 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02511, allocations: 0.6562 kB / 0.8217 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002123/0.02532, allocations: 155.5 kB / 0.8219 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.02534, allocations: 4 kB / 0.8219 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.02534, allocations: 4 kB / 0.8219 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.02536, allocations: 0 / 0.8219 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.02545, allocations: 31.05 kB / 0.8219 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.02546, allocations: 0 / 0.8219 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.0256, allocations: 31.88 kB / 0.8219 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.02561, allocations: 12 kB / 0.8219 GB, free: 7.996 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.0001061/0.02572, allocations: 174.5 kB / 0.8221 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.02575, allocations: 31.8 kB / 0.8221 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.02579, allocations: 17.47 kB / 0.8222 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.02579, allocations: 8.875 kB / 0.8222 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.0258, allocations: 3.984 kB / 0.8222 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.0258, allocations: 0 / 0.8222 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.02625, allocations: 426.3 kB / 0.8226 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.02626, allocations: 4 kB / 0.8226 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.02628, allocations: 5.016 kB / 0.8226 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02628, allocations: 4 kB / 0.8226 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.02629, allocations: 1.125 kB / 0.8226 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02629, allocations: 0 / 0.8226 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.0263, allocations: 4 kB / 0.8226 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.0265, allocations: 287.4 kB / 0.8229 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.02652, allocations: 23.8 kB / 0.8229 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.02654, allocations: 0 / 0.8229 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.02663, allocations: 12.7 kB / 0.8229 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.0267, allocations: 23.97 kB / 0.8229 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.02672, allocations: 9.75 kB / 0.8229 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001035/0.02683, allocations: 178.3 kB / 0.8231 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02683, allocations: 0 / 0.8231 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003246/0.02715, allocations: 47.98 kB / 0.8231 GB, free: 6.695 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.0003727/0.02752, allocations: 192.5 kB / 0.8233 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.02772, allocations: 85.69 kB / 0.8234 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02772, allocations: 0 / 0.8234 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.02786, allocations: 51.59 kB / 0.8235 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.02825, allocations: 59.17 kB / 0.8235 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.02875, allocations: 286.8 kB / 0.8238 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.566e-05/0.02881, allocations: 75.84 kB / 0.8239 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.509e-05/0.02888, allocations: 29.69 kB / 0.8239 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.02894, allocations: 28.44 kB / 0.8239 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.02894, allocations: 0 / 0.8239 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of Templates: time 0.007198/0.03614, allocations: 3.949 MB / 0.8278 GB, free: 1.98 MB / 0.7761 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.387789525091648]