Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007966/0.0007966, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009788/0.001775, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007169/0.0007169, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009352/0.001652, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9188/0.9188, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.591/2.591, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2391/2.83, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.288e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003372/0.003395, allocations: 1.837 MB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.005068, allocations: 0.947 MB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.005156, allocations: 0 / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.005301, allocations: 27.72 kB / 0.821 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.005629, allocations: 115.3 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.006016, allocations: 155.6 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.006332, allocations: 243.4 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.006464, allocations: 34.39 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01818/0.02465, allocations: 6.38 MB / 0.8278 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.02483, allocations: 95.73 kB / 0.8279 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.02486, allocations: 16 kB / 0.8279 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.02495, allocations: 35.92 kB / 0.8279 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.025, allocations: 23.94 kB / 0.828 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.02508, allocations: 43.88 kB / 0.828 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.02536, allocations: 155.4 kB / 0.8281 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.02537, allocations: 0 / 0.8281 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/0.02538, allocations: 0 / 0.8281 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.02539, allocations: 4 kB / 0.8281 GB, free: 11.14 MB / 0.8073 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.0006905/0.02608, allocations: 0.4911 MB / 0.8286 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.02613, allocations: 12.62 kB / 0.8286 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.02618, allocations: 20.92 kB / 0.8287 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.02639, allocations: 181.9 kB / 0.8288 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.0264, allocations: 12 kB / 0.8288 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.02642, allocations: 12 kB / 0.8289 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.02655, allocations: 91.28 kB / 0.8289 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.02656, allocations: 3.984 kB / 0.8289 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.02657, allocations: 4 kB / 0.829 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.02657, allocations: 4 kB / 0.829 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.02662, allocations: 23.97 kB / 0.829 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.02707, allocations: 360.1 kB / 0.8293 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.02717, allocations: 65.27 kB / 0.8294 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.0272, allocations: 25.77 kB / 0.8294 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.02721, allocations: 3.938 kB / 0.8294 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.02735, allocations: 105 kB / 0.8295 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.02735, allocations: 0 / 0.8295 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001722/0.02752, allocations: 109.6 kB / 0.8296 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.02757, allocations: 85.05 kB / 0.8297 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.02769, allocations: 190.3 kB / 0.8299 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.02771, allocations: 33.7 kB / 0.8299 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.02777, allocations: 112.4 kB / 0.83 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.0278, allocations: 43.72 kB / 0.8301 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.02786, allocations: 61.64 kB / 0.8301 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.02796, allocations: 326.8 kB / 0.8304 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.02798, allocations: 15.98 kB / 0.8304 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.02814, allocations: 223.7 kB / 0.8307 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.02822, allocations: 106.4 kB / 0.8308 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.02823, allocations: 0 / 0.8308 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001208/0.02835, allocations: 112.8 kB / 0.8309 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.02836, allocations: 8 kB / 0.8309 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.02837, allocations: 0 / 0.8309 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.02838, allocations: 8.156 kB / 0.8309 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.02845, allocations: 31.92 kB / 0.8309 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.02846, allocations: 7.984 kB / 0.8309 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.02855, allocations: 23.94 kB / 0.8309 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.02856, allocations: 4 kB / 0.8309 GB, free: 7.992 MB / 0.8073 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.386e-05/0.02864, allocations: 134.5 kB / 0.8311 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.02866, allocations: 19.92 kB / 0.8311 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.0287, allocations: 25.45 kB / 0.8311 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.0287, allocations: 0 / 0.8311 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.0287, allocations: 4 kB / 0.8311 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.02871, allocations: 4 kB / 0.8311 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.02899, allocations: 286.5 kB / 0.8314 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.029, allocations: 4 kB / 0.8314 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.02902, allocations: 15.92 kB / 0.8314 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.02903, allocations: 15.84 kB / 0.8314 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.02903, allocations: 0 / 0.8314 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.02904, allocations: 4 kB / 0.8314 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.02904, allocations: 0 / 0.8314 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02904, allocations: 0 / 0.8314 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.02915, allocations: 192.4 kB / 0.8316 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.02916, allocations: 7.969 kB / 0.8316 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.02922, allocations: 15.98 kB / 0.8316 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.02927, allocations: 15.97 kB / 0.8317 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.02928, allocations: 7.938 kB / 0.8317 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.02932, allocations: 57.8 kB / 0.8317 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.02932, allocations: 0 / 0.8317 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001908/0.02951, allocations: 51.88 kB / 0.8318 GB, free: 7.086 MB / 0.8073 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.0003633/0.02988, allocations: 172.9 kB / 0.8319 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.03, allocations: 80.64 kB / 0.832 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.03001, allocations: 4 kB / 0.832 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.03006, allocations: 44.14 kB / 0.8321 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.03027, allocations: 67.41 kB / 0.8321 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.03081, allocations: 285.5 kB / 0.8324 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.846e-05/0.03086, allocations: 83.86 kB / 0.8325 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.03091, allocations: 25.61 kB / 0.8325 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.03106, allocations: 105.3 kB / 0.8326 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.03106, allocations: 0 / 0.8326 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of Templates: time 0.00556/0.03662, allocations: 4.097 MB / 0.8366 GB, free: 2.188 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.ref.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.502977029420435]