Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 113.3 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 194.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9207/0.9227, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002932/0.9257, allocations: 1.738 MB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.9272, allocations: 0.8996 MB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.9273, allocations: 1.625 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.9274, allocations: 31.27 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.9278, allocations: 117.6 kB / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.9282, allocations: 156.3 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.9286, allocations: 243 kB / 1.266 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.9287, allocations: 35.58 kB / 1.266 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.9288, allocations: 112.7 kB / 1.266 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.9413, allocations: 1.665 MB / 1.267 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.9415, allocations: 17.78 kB / 1.267 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.9416, allocations: 41.36 kB / 1.267 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.9417, allocations: 41.39 kB / 1.268 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.9419, allocations: 92.17 kB / 1.268 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.9424, allocations: 226.9 kB / 1.268 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9424, allocations: 4.75 kB / 1.268 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9424, allocations: 0 / 1.268 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.9424, allocations: 0.7188 kB / 1.268 GB, free: 5.23 MB / 0.9981 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.000787/0.9432, allocations: 0.5517 MB / 1.268 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.9432, allocations: 8.969 kB / 1.268 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/0.9433, allocations: 20.22 kB / 1.268 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.9436, allocations: 258.3 kB / 1.269 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.9436, allocations: 10.31 kB / 1.269 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.9437, allocations: 15.45 kB / 1.269 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.9439, allocations: 117.9 kB / 1.269 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9439, allocations: 0.6562 kB / 1.269 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.9439, allocations: 2.484 kB / 1.269 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9439, allocations: 6.188 kB / 1.269 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.9441, allocations: 57.22 kB / 1.269 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.9449, allocations: 0.5347 MB / 1.269 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.9451, allocations: 100.1 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.9452, allocations: 42.5 kB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.9452, allocations: 4.953 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.9455, allocations: 124.5 kB / 1.27 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.9455, allocations: 3.984 kB / 1.27 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003859/0.9459, allocations: 163.8 kB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.9459, allocations: 80.7 kB / 1.27 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.9461, allocations: 204.8 kB / 1.27 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.9462, allocations: 34.17 kB / 1.27 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.9463, allocations: 123.6 kB / 1.27 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.9463, allocations: 35.34 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.9464, allocations: 63.61 kB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.9465, allocations: 333.4 kB / 1.271 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.9466, allocations: 30.19 kB / 1.271 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.9468, allocations: 143.1 kB / 1.271 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.9469, allocations: 113 kB / 1.271 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.947, allocations: 4.812 kB / 1.271 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000255/0.9472, allocations: 156.2 kB / 1.271 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.9472, allocations: 11.97 kB / 1.271 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.9473, allocations: 3.156 kB / 1.271 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.9473, allocations: 6.438 kB / 1.271 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.9474, allocations: 18.3 kB / 1.271 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.9474, allocations: 3.625 kB / 1.271 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.9476, allocations: 28.52 kB / 1.271 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.9476, allocations: 10.09 kB / 1.271 GB, free: 2.57 MB / 0.9981 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.0001038/0.9478, allocations: 143.2 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.9478, allocations: 20.45 kB / 1.271 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.9478, allocations: 28.25 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9478, allocations: 1.781 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9479, allocations: 1 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.9479, allocations: 1.938 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.9484, allocations: 462.8 kB / 1.272 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.9484, allocations: 1.562 kB / 1.272 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.9485, allocations: 8.156 kB / 1.272 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9485, allocations: 2.578 kB / 1.272 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.9485, allocations: 1.75 kB / 1.272 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.9485, allocations: 5.688 kB / 1.272 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9485, allocations: 1.094 kB / 1.272 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.9487, allocations: 226.9 kB / 1.272 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.9488, allocations: 94.89 kB / 1.272 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.9488, allocations: 9.984 kB / 1.272 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.9489, allocations: 16.06 kB / 1.272 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.949, allocations: 18.31 kB / 1.272 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.949, allocations: 6.703 kB / 1.272 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000118/0.9492, allocations: 148.5 kB / 1.272 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9492, allocations: 0 / 1.272 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003227/0.9495, allocations: 47.64 kB / 1.272 GB, free: 1.625 MB / 0.9981 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.0003658/0.9499, allocations: 164.7 kB / 1.272 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.9501, allocations: 110.2 kB / 1.273 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9502, allocations: 0.5938 kB / 1.273 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.9503, allocations: 54.98 kB / 1.273 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.9507, allocations: 56.55 kB / 1.273 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.9513, allocations: 343.9 kB / 1.273 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.9515, allocations: 0.7218 MB / 1.274 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.9515, allocations: 24.31 kB / 1.274 GB, free: 492 kB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.9515, allocations: 0 / 1.274 GB, free: 492 kB / 0.9981 GB Notification: Performance of Templates: time 0.006364/0.9579, allocations: 3.224 MB / 1.277 GB, free: 124 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 12.138902609003708]