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.001554/0.001554, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001631/0.001631, allocations: 186 kB / 20.78 MB, free: 1.547 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.83/2.83, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 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.002281/0.002281, allocations: 63.91 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.9591, allocations: 173.7 MB / 1.305 GB, free: 33.38 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003193/0.9623, allocations: 1.762 MB / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.9636, allocations: 0.9151 MB / 1.308 GB, free: 31.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.9637, allocations: 3.938 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.9639, allocations: 29.39 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.9642, allocations: 118.5 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.9645, allocations: 157 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.9647, allocations: 239.5 kB / 1.309 GB, free: 31.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.9648, allocations: 28.91 kB / 1.309 GB, free: 31.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.965, allocations: 113.5 kB / 1.309 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.9773, allocations: 1.664 MB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.9773, allocations: 20.38 kB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.9774, allocations: 41.17 kB / 1.31 GB, free: 30.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.9775, allocations: 43.33 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.9776, allocations: 95.2 kB / 1.31 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.9778, allocations: 220.1 kB / 1.311 GB, free: 30.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9778, allocations: 0 / 1.311 GB, free: 30.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9779, allocations: 0 / 1.311 GB, free: 30.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9779, allocations: 0 / 1.311 GB, free: 30.6 MB / 1.061 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.0007194/0.9786, allocations: 0.5668 MB / 1.311 GB, free: 30.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.9786, allocations: 8.688 kB / 1.311 GB, free: 30.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.9787, allocations: 19.81 kB / 1.311 GB, free: 30.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.9789, allocations: 243.8 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.9789, allocations: 10.12 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.979, allocations: 18.05 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.9791, allocations: 109.5 kB / 1.312 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9791, allocations: 0 / 1.312 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.9792, allocations: 10.88 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9792, allocations: 6.016 kB / 1.312 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.9793, allocations: 51.05 kB / 1.312 GB, free: 29.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.98, allocations: 0.5393 MB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.9801, allocations: 91.38 kB / 1.312 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.9802, allocations: 42.98 kB / 1.312 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.9802, allocations: 2.781 kB / 1.312 GB, free: 29.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.9804, allocations: 132 kB / 1.312 GB, free: 29.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.9804, allocations: 0 / 1.312 GB, free: 29.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0002986/0.9807, allocations: 163.8 kB / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.9807, allocations: 79.92 kB / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.9808, allocations: 203.9 kB / 1.313 GB, free: 28.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.9809, allocations: 32.73 kB / 1.313 GB, free: 28.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.9809, allocations: 123.9 kB / 1.313 GB, free: 28.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.981, allocations: 36.88 kB / 1.313 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.981, allocations: 58.86 kB / 1.313 GB, free: 28.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.9811, allocations: 328.2 kB / 1.313 GB, free: 28.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.9812, allocations: 34.86 kB / 1.314 GB, free: 28.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.9813, allocations: 143.2 kB / 1.314 GB, free: 28.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.9815, allocations: 112.8 kB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9815, allocations: 4 kB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002104/0.9817, allocations: 162 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9817, allocations: 5.188 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9817, allocations: 2.562 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9817, allocations: 2.562 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.9818, allocations: 17.52 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.9818, allocations: 6.578 kB / 1.314 GB, free: 27.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.982, allocations: 32.53 kB / 1.314 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.982, allocations: 13.09 kB / 1.314 GB, free: 27.95 MB / 1.061 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 8.689e-05/0.9821, allocations: 138.8 kB / 1.314 GB, free: 27.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.9821, allocations: 13.56 kB / 1.314 GB, free: 27.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.9822, allocations: 26.41 kB / 1.314 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9822, allocations: 3.062 kB / 1.314 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9822, allocations: 4 kB / 1.314 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9822, allocations: 0 / 1.314 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.9826, allocations: 474.5 kB / 1.315 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9826, allocations: 0 / 1.315 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.9827, allocations: 3.438 kB / 1.315 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9827, allocations: 0 / 1.315 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.9827, allocations: 11.03 kB / 1.315 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9827, allocations: 0 / 1.315 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9827, allocations: 2.469 kB / 1.315 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.9829, allocations: 237.4 kB / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.9829, allocations: 94.8 kB / 1.315 GB, free: 27.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.9829, allocations: 10.59 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.9831, allocations: 9.094 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.9831, allocations: 19.42 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.9831, allocations: 9.484 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.148e-05/0.9832, allocations: 145.8 kB / 1.315 GB, free: 27.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9832, allocations: 4 kB / 1.315 GB, free: 27.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003017/0.9835, allocations: 50.81 kB / 1.315 GB, free: 27.01 MB / 1.061 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.0003114/0.9838, allocations: 166.6 kB / 1.315 GB, free: 26.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.984, allocations: 94.08 kB / 1.315 GB, free: 26.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9841, allocations: 6.75 kB / 1.315 GB, free: 26.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.819e-05/0.9841, allocations: 43.05 kB / 1.315 GB, free: 26.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.9845, allocations: 53.95 kB / 1.316 GB, free: 26.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.985, allocations: 325.2 kB / 1.316 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.9852, allocations: 0.7295 MB / 1.317 GB, free: 25.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.706e-05/0.9853, allocations: 27.97 kB / 1.317 GB, free: 25.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/0.9853, allocations: 26.06 kB / 1.317 GB, free: 25.88 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.9853, allocations: 0 / 1.317 GB, free: 25.88 MB / 1.061 GB Notification: Performance of Templates: time 0.007592/0.9929, allocations: 3.72 MB / 1.32 GB, free: 25.54 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.028638685122132]