Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001425/0.001425, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001182/0.001182, allocations: 161 kB / 23.82 MB, free: 0.7695 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 0.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.659e-05, allocations: 9.453 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00239/0.002417, allocations: 1.801 MB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003603, allocations: 0.9304 MB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.003681, allocations: 6.312 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.003863, allocations: 23.73 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.004192, allocations: 127.3 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.004467, allocations: 151.6 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.0047, allocations: 256 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.004811, allocations: 21.73 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.004956, allocations: 148.2 kB / 0.8149 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009052/0.01401, allocations: 3.249 MB / 0.818 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.01407, allocations: 16 kB / 0.8181 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.01417, allocations: 47.84 kB / 0.8181 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.01423, allocations: 39.83 kB / 0.8181 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.01433, allocations: 68.66 kB / 0.8182 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.0147, allocations: 199.3 kB / 0.8184 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01471, allocations: 0 / 0.8184 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.472e-06/0.01471, allocations: 2.219 kB / 0.8184 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.01472, allocations: 0 / 0.8184 GB, free: 12.02 MB / 0.7761 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.0006886/0.01541, allocations: 0.5694 MB / 0.819 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.01544, allocations: 10.16 kB / 0.819 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.01551, allocations: 32.83 kB / 0.819 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.01574, allocations: 197.5 kB / 0.8192 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.01576, allocations: 12.38 kB / 0.8192 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.01579, allocations: 19.94 kB / 0.8192 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.01592, allocations: 76 kB / 0.8193 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.01592, allocations: 0 / 0.8193 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.01594, allocations: 8.516 kB / 0.8193 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.01595, allocations: 5.906 kB / 0.8193 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.01601, allocations: 27.98 kB / 0.8193 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.01656, allocations: 424 kB / 0.8197 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.01681, allocations: 115.2 kB / 0.8198 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.01685, allocations: 27.67 kB / 0.8199 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.01687, allocations: 7.984 kB / 0.8199 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.017, allocations: 96.25 kB / 0.82 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.185e-06/0.017, allocations: 0 / 0.82 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002456/0.01725, allocations: 149.6 kB / 0.8201 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.01729, allocations: 59.34 kB / 0.8202 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.01743, allocations: 247.9 kB / 0.8204 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.01746, allocations: 33.7 kB / 0.8204 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.01753, allocations: 175.2 kB / 0.8206 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.01756, allocations: 31.77 kB / 0.8206 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.01763, allocations: 63.33 kB / 0.8207 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01775, allocations: 0.5001 MB / 0.8212 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.01779, allocations: 21.02 kB / 0.8212 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.01798, allocations: 239.1 kB / 0.8214 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.01807, allocations: 107.1 kB / 0.8215 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01807, allocations: 4 kB / 0.8215 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001616/0.01824, allocations: 142.5 kB / 0.8217 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01825, allocations: 6.969 kB / 0.8217 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01826, allocations: 8.859 kB / 0.8217 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01827, allocations: 0 / 0.8217 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.01833, allocations: 21.55 kB / 0.8217 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01834, allocations: 4 kB / 0.8217 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.01844, allocations: 27.88 kB / 0.8217 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.01845, allocations: 4 kB / 0.8217 GB, free: 8.324 MB / 0.7761 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.683e-05/0.01854, allocations: 176.2 kB / 0.8219 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.01857, allocations: 27.8 kB / 0.8219 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.0186, allocations: 25.8 kB / 0.822 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.0186, allocations: 0.5 kB / 0.822 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01861, allocations: 7.938 kB / 0.822 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01861, allocations: 1.344 kB / 0.822 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.01901, allocations: 453.1 kB / 0.8224 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01901, allocations: 0.625 kB / 0.8224 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.01903, allocations: 14.12 kB / 0.8224 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.01903, allocations: 7.984 kB / 0.8224 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.01904, allocations: 0 / 0.8224 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01904, allocations: 0 / 0.8224 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01904, allocations: 0 / 0.8224 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.0192, allocations: 277.7 kB / 0.8227 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01922, allocations: 21.88 kB / 0.8227 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.01923, allocations: 4 kB / 0.8227 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.01929, allocations: 15.98 kB / 0.8227 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.01934, allocations: 15.97 kB / 0.8228 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.01936, allocations: 11.98 kB / 0.8228 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.01945, allocations: 178.5 kB / 0.8229 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01945, allocations: 0 / 0.8229 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002063/0.01966, allocations: 47.95 kB / 0.823 GB, free: 7.008 MB / 0.7761 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.000337/0.01999, allocations: 183 kB / 0.8232 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.02016, allocations: 99.42 kB / 0.8232 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.02016, allocations: 0 / 0.8232 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.02022, allocations: 55.55 kB / 0.8233 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.02051, allocations: 65.08 kB / 0.8234 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.02091, allocations: 283 kB / 0.8236 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.02096, allocations: 75.98 kB / 0.8237 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.337e-05/0.02101, allocations: 21.62 kB / 0.8237 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.02106, allocations: 28.48 kB / 0.8238 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.02106, allocations: 3.938 kB / 0.8238 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of Templates: time 0.005633/0.02669, allocations: 4.019 MB / 0.8277 GB, free: 2.211 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.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.365558500867337]