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.001904/0.001904, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.001966/0.001966, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.122/3.122, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.184e-06/2.184e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.731e-05, allocations: 3.312 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00339/0.003428, allocations: 1.778 MB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.005336, allocations: 0.9191 MB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.005417, allocations: 4.688 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.005618, allocations: 27.72 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.006043, allocations: 128.2 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.006445, allocations: 156.3 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.006795, allocations: 245.4 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.006918, allocations: 25.8 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.007149, allocations: 151.6 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02359/0.03074, allocations: 3.21 MB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.03084, allocations: 21.53 kB / 0.8173 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.03098, allocations: 39.92 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.03106, allocations: 35.84 kB / 0.8173 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.03119, allocations: 71.78 kB / 0.8174 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.03164, allocations: 235.8 kB / 0.8176 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.03164, allocations: 0 / 0.8176 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.03164, allocations: 1.688 kB / 0.8176 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.03165, allocations: 0 / 0.8176 GB, free: 12.39 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.0009929/0.03264, allocations: 0.5895 MB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.03268, allocations: 8.031 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.03277, allocations: 26.44 kB / 0.8182 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.03311, allocations: 192.8 kB / 0.8184 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.03313, allocations: 12.36 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.03317, allocations: 19.94 kB / 0.8185 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.0334, allocations: 123.9 kB / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.03341, allocations: 0 / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.03343, allocations: 4.688 kB / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.03343, allocations: 4.531 kB / 0.8186 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.03357, allocations: 55.81 kB / 0.8186 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.03455, allocations: 0.5672 MB / 0.8192 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.03477, allocations: 111.2 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.03484, allocations: 39.38 kB / 0.8193 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.03487, allocations: 5.344 kB / 0.8193 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.0351, allocations: 138.3 kB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.0351, allocations: 0 / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0003901/0.03549, allocations: 166.1 kB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.03556, allocations: 85.64 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.03587, allocations: 289.5 kB / 0.82 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.03592, allocations: 33.7 kB / 0.82 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.03607, allocations: 183.2 kB / 0.8202 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.03611, allocations: 35.75 kB / 0.8202 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.03624, allocations: 71.33 kB / 0.8203 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000296/0.03654, allocations: 0.5049 MB / 0.8208 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.03661, allocations: 27.98 kB / 0.8208 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.03699, allocations: 282.5 kB / 0.8211 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.03719, allocations: 133.1 kB / 0.8212 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.03719, allocations: 0 / 0.8212 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003131/0.0375, allocations: 168.8 kB / 0.8214 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.03752, allocations: 8 kB / 0.8214 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.03752, allocations: 5.031 kB / 0.8214 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.03754, allocations: 4 kB / 0.8214 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.03766, allocations: 23.92 kB / 0.8214 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.03767, allocations: 5.25 kB / 0.8214 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.03787, allocations: 27.88 kB / 0.8215 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.03788, allocations: 8.5 kB / 0.8215 GB, free: 8.145 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.0001745/0.03806, allocations: 179.3 kB / 0.8216 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.03811, allocations: 35.78 kB / 0.8217 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.03816, allocations: 18.62 kB / 0.8217 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.03817, allocations: 4 kB / 0.8217 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.03817, allocations: 0 / 0.8217 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.03818, allocations: 0.875 kB / 0.8217 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.03886, allocations: 462.4 kB / 0.8221 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.03887, allocations: 0 / 0.8221 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.03889, allocations: 8 kB / 0.8221 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.0389, allocations: 4.656 kB / 0.8221 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.0389, allocations: 0 / 0.8221 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.03891, allocations: 5.891 kB / 0.8221 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.03891, allocations: 7.938 kB / 0.8222 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.03924, allocations: 287.4 kB / 0.8224 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.03927, allocations: 19.89 kB / 0.8224 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.0393, allocations: 4 kB / 0.8225 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.03943, allocations: 15.33 kB / 0.8225 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.03951, allocations: 23.97 kB / 0.8225 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.03954, allocations: 4 kB / 0.8225 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001813/0.03972, allocations: 194.9 kB / 0.8227 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03972, allocations: 0 / 0.8227 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003141/0.04003, allocations: 47.88 kB / 0.8227 GB, free: 6.781 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.0005314/0.04056, allocations: 182.2 kB / 0.8229 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.04083, allocations: 118.9 kB / 0.823 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.04083, allocations: 4 kB / 0.823 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.04095, allocations: 62.27 kB / 0.8231 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.04139, allocations: 54.7 kB / 0.8231 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.04201, allocations: 307.4 kB / 0.8234 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.04214, allocations: 114.6 kB / 0.8235 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.117e-05/0.04221, allocations: 21.64 kB / 0.8235 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.0423, allocations: 28.48 kB / 0.8236 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.0423, allocations: 0 / 0.8236 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of Templates: time 0.009164/0.05146, allocations: 3.96 MB / 0.8274 GB, free: 1.984 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.19219770503696]