Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001966/0.001966, allocations: 84.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.002531/0.002531, allocations: 161.7 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.687/2.687, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.7864 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.866e-05/4.112e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.005934/0.005975, allocations: 1.743 MB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.009358, allocations: 0.9041 MB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.009481, allocations: 4.562 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.009766, allocations: 28.34 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006803/0.01045, allocations: 124.3 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.01117, allocations: 155.6 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.01176, allocations: 244 kB / 0.7895 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.01192, allocations: 26.83 kB / 0.7895 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.01233, allocations: 147.7 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03658/0.04891, allocations: 3.273 MB / 0.7928 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.04905, allocations: 16 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.04928, allocations: 39.92 kB / 0.7929 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.04942, allocations: 45.17 kB / 0.7929 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.04966, allocations: 67.8 kB / 0.793 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008474/0.05051, allocations: 239.2 kB / 0.7932 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.05052, allocations: 4.734 kB / 0.7932 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.484e-06/0.05052, allocations: 0 / 0.7932 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.05053, allocations: 1.188 kB / 0.7932 GB, free: 7.086 MB / 0.7448 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.001639/0.05217, allocations: 493.5 kB / 0.7937 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/0.05225, allocations: 9.75 kB / 0.7937 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.05243, allocations: 28.84 kB / 0.7937 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.053, allocations: 185.4 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.05304, allocations: 12.38 kB / 0.7939 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.05311, allocations: 15.94 kB / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.0535, allocations: 101.1 kB / 0.794 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.05352, allocations: 4 kB / 0.794 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.05354, allocations: 4.688 kB / 0.794 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.05355, allocations: 0.5938 kB / 0.794 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.05378, allocations: 47.97 kB / 0.7941 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.05528, allocations: 375.1 kB / 0.7944 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.05612, allocations: 127.8 kB / 0.7946 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.05625, allocations: 28.86 kB / 0.7946 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.05628, allocations: 4.75 kB / 0.7946 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.05667, allocations: 120.3 kB / 0.7947 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 3.306e-06/0.05667, allocations: 0 / 0.7947 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0007309/0.0574, allocations: 169.4 kB / 0.7949 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.05749, allocations: 60.56 kB / 0.7949 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.05791, allocations: 200.4 kB / 0.7951 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-05/0.058, allocations: 33.7 kB / 0.7952 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.05818, allocations: 125.4 kB / 0.7953 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.05826, allocations: 39.69 kB / 0.7953 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.05846, allocations: 59.89 kB / 0.7954 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002945/0.05875, allocations: 326.8 kB / 0.7957 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.05888, allocations: 31.98 kB / 0.7957 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.05952, allocations: 234.5 kB / 0.7959 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.05978, allocations: 110.2 kB / 0.796 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.05979, allocations: 0 / 0.796 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005018/0.06029, allocations: 161.4 kB / 0.7962 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.06031, allocations: 4 kB / 0.7962 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.06033, allocations: 5.469 kB / 0.7962 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.06035, allocations: 0 / 0.7962 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.0605, allocations: 15.94 kB / 0.7962 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.06052, allocations: 11.97 kB / 0.7962 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.06094, allocations: 28.5 kB / 0.7963 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.06096, allocations: 4.562 kB / 0.7963 GB, free: 3.742 MB / 0.7448 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 0.0002725/0.06124, allocations: 136.3 kB / 0.7964 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.06133, allocations: 28.42 kB / 0.7964 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.538e-05/0.06141, allocations: 17.81 kB / 0.7964 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.06142, allocations: 5.375 kB / 0.7964 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.06143, allocations: 0 / 0.7964 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.06144, allocations: 0 / 0.7964 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.06286, allocations: 429.6 kB / 0.7969 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.06286, allocations: 1.094 kB / 0.7969 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.06291, allocations: 4 kB / 0.7969 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.06291, allocations: 3.938 kB / 0.7969 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.06293, allocations: 8.641 kB / 0.7969 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.06295, allocations: 7.984 kB / 0.7969 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.06296, allocations: 9.297 kB / 0.7969 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.06349, allocations: 231.3 kB / 0.7971 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.06355, allocations: 19.89 kB / 0.7971 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.06359, allocations: 0 / 0.7971 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.06386, allocations: 19.73 kB / 0.7971 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.064, allocations: 19.97 kB / 0.7972 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.06404, allocations: 7.984 kB / 0.7972 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002852/0.06433, allocations: 143.2 kB / 0.7973 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.06433, allocations: 0 / 0.7973 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006507/0.06498, allocations: 47.89 kB / 0.7974 GB, free: 2.578 MB / 0.7448 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.0007645/0.06574, allocations: 166.8 kB / 0.7975 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004761/0.06622, allocations: 96.81 kB / 0.7976 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.06622, allocations: 0 / 0.7976 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.06641, allocations: 47.92 kB / 0.7977 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.06725, allocations: 60.75 kB / 0.7977 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.06844, allocations: 299.7 kB / 0.798 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.06869, allocations: 116.2 kB / 0.7981 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.06884, allocations: 21.62 kB / 0.7981 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.06896, allocations: 28.48 kB / 0.7982 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of SimCode: time 9.61e-07/0.06896, allocations: 0 / 0.7982 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.01735/0.08631, allocations: 4.018 MB / 0.8021 GB, free: 13.78 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.875811910955235]