Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001157/0.001157, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001823/0.00298, 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.001077/0.001077, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002439, 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.9518/0.9518, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09689/1.049, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.476/2.476, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2615/2.738, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.479e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002325/0.00235, allocations: 1.845 MB / 0.8201 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.003562, allocations: 0.9431 MB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.003642, allocations: 0 / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.003759, allocations: 23.73 kB / 0.821 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.004017, allocations: 127.2 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.004319, allocations: 159.6 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.004562, allocations: 239.4 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004668, allocations: 22.45 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01746/0.02213, allocations: 6.508 MB / 0.8279 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.02231, allocations: 99.72 kB / 0.828 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.02234, allocations: 16 kB / 0.828 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.02244, allocations: 39.92 kB / 0.8281 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.02249, allocations: 27.86 kB / 0.8281 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.02256, allocations: 39.94 kB / 0.8281 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.02286, allocations: 151.4 kB / 0.8283 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.718e-05/0.02287, allocations: 4 kB / 0.8283 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.223e-06/0.02287, allocations: 0 / 0.8283 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.026e-05/0.02289, allocations: 0 / 0.8283 GB, free: 11.06 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006573/0.02355, allocations: 498.9 kB / 0.8287 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.02358, allocations: 12.62 kB / 0.8288 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.02364, allocations: 24.91 kB / 0.8288 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.02384, allocations: 169.9 kB / 0.8289 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.02385, allocations: 11.94 kB / 0.829 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.02388, allocations: 19.98 kB / 0.829 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.02401, allocations: 65.66 kB / 0.829 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.02401, allocations: 0 / 0.829 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.02403, allocations: 7.984 kB / 0.829 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.02403, allocations: 0 / 0.829 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.02408, allocations: 27.42 kB / 0.8291 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.02448, allocations: 271.9 kB / 0.8293 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.02467, allocations: 86.45 kB / 0.8294 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.02469, allocations: 16.86 kB / 0.8294 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.02471, allocations: 8 kB / 0.8294 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.02484, allocations: 94.5 kB / 0.8295 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.02484, allocations: 0 / 0.8295 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001707/0.02501, allocations: 97.58 kB / 0.8296 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.02506, allocations: 59.41 kB / 0.8297 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.02518, allocations: 186.4 kB / 0.8299 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.0252, allocations: 37.69 kB / 0.8299 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.02526, allocations: 108.5 kB / 0.83 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.02529, allocations: 39.69 kB / 0.83 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.02536, allocations: 57.64 kB / 0.8301 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.02545, allocations: 334.8 kB / 0.8304 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.02547, allocations: 15.94 kB / 0.8304 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.02563, allocations: 218 kB / 0.8306 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.0257, allocations: 77.98 kB / 0.8307 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.0257, allocations: 4 kB / 0.8307 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001178/0.02582, allocations: 113.6 kB / 0.8308 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02583, allocations: 8.031 kB / 0.8308 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.02584, allocations: 7.984 kB / 0.8308 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.02585, allocations: 0 / 0.8308 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.02592, allocations: 27.92 kB / 0.8309 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.02592, allocations: 4 kB / 0.8309 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.02601, allocations: 27.88 kB / 0.8309 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.02601, allocations: 0 / 0.8309 GB, free: 8.145 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 7.988e-05/0.02609, allocations: 134.7 kB / 0.831 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.02611, allocations: 23.91 kB / 0.831 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.02614, allocations: 25.75 kB / 0.8311 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02615, allocations: 4 kB / 0.8311 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.02615, allocations: 0 / 0.8311 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02615, allocations: 3.938 kB / 0.8311 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.02644, allocations: 306.5 kB / 0.8314 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02645, allocations: 0 / 0.8314 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.02646, allocations: 7.984 kB / 0.8314 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.02647, allocations: 11.91 kB / 0.8314 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02648, allocations: 0 / 0.8314 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.02648, allocations: 8 kB / 0.8314 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.02648, allocations: 0 / 0.8314 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02648, allocations: 0 / 0.8314 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.02659, allocations: 202.5 kB / 0.8316 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.02661, allocations: 4 kB / 0.8316 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.02666, allocations: 11.98 kB / 0.8316 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.0267, allocations: 15.97 kB / 0.8316 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.02672, allocations: 7.984 kB / 0.8316 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.02676, allocations: 57.8 kB / 0.8317 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02676, allocations: 0 / 0.8317 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001829/0.02694, allocations: 51.95 kB / 0.8317 GB, free: 7.234 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003194/0.02726, allocations: 174.4 kB / 0.8319 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.02739, allocations: 83.73 kB / 0.832 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.02739, allocations: 0 / 0.832 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.02744, allocations: 44.83 kB / 0.832 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.02765, allocations: 63.83 kB / 0.8321 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.02822, allocations: 296.3 kB / 0.8324 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.02826, allocations: 75.98 kB / 0.8324 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.484e-05/0.02832, allocations: 17.64 kB / 0.8324 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.02848, allocations: 109.3 kB / 0.8326 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/0.02848, allocations: 3.938 kB / 0.8326 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of Templates: time 0.005847/0.03433, allocations: 4.165 MB / 0.8366 GB, free: 2.262 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.378795779310167]