Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0009687/0.0009687, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009486/0.0009486, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9612/0.9612, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.831/1.831, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.561e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002514/0.002539, allocations: 1.781 MB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003786, allocations: 0.9231 MB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.003881, allocations: 5.531 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.004066, allocations: 27.67 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.004431, allocations: 123.4 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.004751, allocations: 149.2 kB / 0.79 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.005014, allocations: 259.2 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.005145, allocations: 25.73 kB / 0.7903 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.005304, allocations: 147.7 kB / 0.7904 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007325/0.01263, allocations: 2.74 MB / 0.7931 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.01269, allocations: 16 kB / 0.7931 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.01279, allocations: 39.92 kB / 0.7931 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.01285, allocations: 35.84 kB / 0.7932 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.01294, allocations: 68.52 kB / 0.7932 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.01328, allocations: 191.4 kB / 0.7934 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01328, allocations: 5.219 kB / 0.7934 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01328, allocations: 0 / 0.7934 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.01329, allocations: 3.938 kB / 0.7934 GB, free: 7.41 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.0006707/0.01396, allocations: 0.576 MB / 0.794 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.014, allocations: 8.031 kB / 0.794 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.01409, allocations: 28.83 kB / 0.794 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.01433, allocations: 196.9 kB / 0.7942 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.01434, allocations: 13.84 kB / 0.7942 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.01437, allocations: 19.92 kB / 0.7942 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.01452, allocations: 77.59 kB / 0.7943 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.01453, allocations: 0 / 0.7943 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.01454, allocations: 8.5 kB / 0.7943 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01455, allocations: 0 / 0.7943 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.01462, allocations: 39.05 kB / 0.7944 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.01521, allocations: 429.4 kB / 0.7948 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.01545, allocations: 109.2 kB / 0.7949 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.01549, allocations: 31.61 kB / 0.7949 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01551, allocations: 0 / 0.7949 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.01565, allocations: 93.58 kB / 0.795 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.01565, allocations: 0.5312 kB / 0.795 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002705/0.01592, allocations: 150 kB / 0.7951 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.01596, allocations: 67.33 kB / 0.7952 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01613, allocations: 242.4 kB / 0.7954 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.01616, allocations: 34.64 kB / 0.7955 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.01624, allocations: 171.2 kB / 0.7956 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.01627, allocations: 39.73 kB / 0.7957 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.01634, allocations: 60.19 kB / 0.7957 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01644, allocations: 0.504 MB / 0.7962 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.01648, allocations: 18.2 kB / 0.7962 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.01668, allocations: 239.9 kB / 0.7965 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.01677, allocations: 94.36 kB / 0.7965 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01677, allocations: 3.969 kB / 0.7966 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001686/0.01694, allocations: 145.3 kB / 0.7967 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.01696, allocations: 7.125 kB / 0.7967 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01697, allocations: 0 / 0.7967 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01698, allocations: 4 kB / 0.7967 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.01704, allocations: 23.98 kB / 0.7967 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.01705, allocations: 7.938 kB / 0.7967 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.01715, allocations: 20.81 kB / 0.7968 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.01716, allocations: 12 kB / 0.7968 GB, free: 3.707 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 9.387e-05/0.01726, allocations: 171.6 kB / 0.7969 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.01728, allocations: 27.83 kB / 0.797 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.01732, allocations: 17.81 kB / 0.797 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01732, allocations: 1.125 kB / 0.797 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01732, allocations: 0 / 0.797 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01733, allocations: 0 / 0.797 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.01776, allocations: 466.2 kB / 0.7974 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01776, allocations: 5 kB / 0.7974 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.01778, allocations: 11.92 kB / 0.7974 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01778, allocations: 4.031 kB / 0.7974 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01779, allocations: 8.5 kB / 0.7974 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01779, allocations: 1.594 kB / 0.7974 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01779, allocations: 4 kB / 0.7975 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.01796, allocations: 275.7 kB / 0.7977 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.01798, allocations: 15.84 kB / 0.7977 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.018, allocations: 8.844 kB / 0.7977 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.01806, allocations: 7.984 kB / 0.7977 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.01812, allocations: 28.39 kB / 0.7978 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.01814, allocations: 5.094 kB / 0.7978 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.711e-05/0.01823, allocations: 178.3 kB / 0.7979 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01823, allocations: 0 / 0.7979 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002167/0.01845, allocations: 48.61 kB / 0.798 GB, free: 2.391 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.0003392/0.01878, allocations: 166.2 kB / 0.7982 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.01897, allocations: 94.33 kB / 0.7982 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01897, allocations: 8.25 kB / 0.7982 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.48e-05/0.01903, allocations: 53.8 kB / 0.7983 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01932, allocations: 55.88 kB / 0.7984 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.01981, allocations: 310.9 kB / 0.7987 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.01986, allocations: 75.98 kB / 0.7987 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.286e-05/0.01992, allocations: 21.58 kB / 0.7987 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.01997, allocations: 28.48 kB / 0.7988 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/0.01997, allocations: 4 kB / 0.7988 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.006023/0.02599, allocations: 4.01 MB / 0.8027 GB, free: 13.59 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.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.142220465932041]