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.001971/0.001971, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002499/0.002499, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.854/2.854, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.743e-06/1.743e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.702e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003589/0.003616, allocations: 1.744 MB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.005528, allocations: 0.9051 MB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.005615, allocations: 4 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.005824, allocations: 31.66 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.0063, allocations: 119.4 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.006721, allocations: 152.6 kB / 0.8137 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.007071, allocations: 247.3 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.007208, allocations: 26.7 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.007448, allocations: 147.7 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01934/0.02679, allocations: 3.212 MB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.02689, allocations: 20 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.02703, allocations: 49 kB / 0.8173 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.02711, allocations: 39.84 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.02724, allocations: 63.8 kB / 0.8174 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.0278, allocations: 240.1 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.02781, allocations: 0 / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.964e-06/0.02781, allocations: 0.8438 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.02782, allocations: 4 kB / 0.8176 GB, free: 12.41 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.001118/0.02894, allocations: 493.9 kB / 0.8181 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.02898, allocations: 8.875 kB / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.02909, allocations: 28.84 kB / 0.8181 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.02944, allocations: 186.9 kB / 0.8183 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.02946, allocations: 12.38 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.0295, allocations: 21.44 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.02975, allocations: 111.3 kB / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.02976, allocations: 0 / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.02977, allocations: 4 kB / 0.8184 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.02978, allocations: 5.25 kB / 0.8184 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.02992, allocations: 59.81 kB / 0.8185 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/0.03087, allocations: 459.4 kB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.03108, allocations: 85.12 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.03116, allocations: 37.77 kB / 0.819 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.03119, allocations: 4.125 kB / 0.8191 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.03143, allocations: 122.7 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.03144, allocations: 0 / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0004252/0.03186, allocations: 176.4 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.03193, allocations: 82.14 kB / 0.8194 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.03221, allocations: 204.3 kB / 0.8196 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.03225, allocations: 34.98 kB / 0.8196 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.03239, allocations: 128.5 kB / 0.8198 GB, free: 10 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.03243, allocations: 31.75 kB / 0.8198 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.03255, allocations: 57.69 kB / 0.8198 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.03277, allocations: 331.9 kB / 0.8202 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.03285, allocations: 35.92 kB / 0.8202 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.03322, allocations: 248.2 kB / 0.8204 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.03345, allocations: 105.2 kB / 0.8205 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.03345, allocations: 0 / 0.8205 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003317/0.03378, allocations: 180.2 kB / 0.8207 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.0338, allocations: 10.97 kB / 0.8207 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.03381, allocations: 0 / 0.8207 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.03383, allocations: 4 kB / 0.8207 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.03393, allocations: 19.92 kB / 0.8207 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.03394, allocations: 4 kB / 0.8207 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.03418, allocations: 27.88 kB / 0.8208 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.03421, allocations: 4.938 kB / 0.8208 GB, free: 8.875 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.0001753/0.03438, allocations: 148.8 kB / 0.8209 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.03443, allocations: 23.8 kB / 0.8209 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.03449, allocations: 25.47 kB / 0.821 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.03449, allocations: 1.031 kB / 0.821 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.03449, allocations: 0 / 0.821 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.0345, allocations: 3.984 kB / 0.821 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.03517, allocations: 390 kB / 0.8213 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.03517, allocations: 0 / 0.8213 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.0352, allocations: 9.156 kB / 0.8214 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.03521, allocations: 4 kB / 0.8214 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.03522, allocations: 4 kB / 0.8214 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.03522, allocations: 1.25 kB / 0.8214 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.03522, allocations: 7.938 kB / 0.8214 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.03554, allocations: 240.1 kB / 0.8216 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.03557, allocations: 14.91 kB / 0.8216 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.0356, allocations: 3.984 kB / 0.8216 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.03574, allocations: 15.98 kB / 0.8216 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.03582, allocations: 19.97 kB / 0.8216 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.03585, allocations: 8 kB / 0.8217 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001745/0.03602, allocations: 148 kB / 0.8218 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03602, allocations: 0 / 0.8218 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003491/0.03637, allocations: 52.59 kB / 0.8218 GB, free: 7.727 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.0004498/0.03682, allocations: 175.2 kB / 0.822 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.0371, allocations: 99.89 kB / 0.8221 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03711, allocations: 0 / 0.8221 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.03721, allocations: 43.92 kB / 0.8222 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.03768, allocations: 75.31 kB / 0.8222 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.03834, allocations: 298.2 kB / 0.8225 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.03847, allocations: 108.2 kB / 0.8226 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.755e-05/0.03857, allocations: 29.62 kB / 0.8226 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.03864, allocations: 24.5 kB / 0.8227 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.03864, allocations: 0 / 0.8227 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of Templates: time 0.009895/0.04853, allocations: 3.952 MB / 0.8265 GB, free: 2.977 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] 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: 7.794856623047963]