Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.773/2.773, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12 kB / 0.8707 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.025, allocations: 153.6 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002155/1.027, allocations: 1.484 MB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001441/1.029, allocations: 0.878 MB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/1.029, allocations: 7.938 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/1.029, allocations: 19.86 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003356/1.03, allocations: 107.7 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/1.03, allocations: 143.7 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/1.03, allocations: 139.8 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/1.03, allocations: 25.67 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/1.03, allocations: 95.67 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/1.032, allocations: 1.05 MB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/1.032, allocations: 8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/1.032, allocations: 31.97 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/1.032, allocations: 31.84 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/1.032, allocations: 49.64 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/1.032, allocations: 145.6 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.032, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.655e-06/1.032, allocations: 3.938 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.98e-06/1.032, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 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.0008192/1.033, allocations: 0.5252 MB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.033, allocations: 15.98 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/1.033, allocations: 15.81 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/1.034, allocations: 234.8 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/1.034, allocations: 12 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/1.034, allocations: 12 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.034, allocations: 95.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.034, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.034, allocations: 11.94 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.034, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/1.034, allocations: 55.92 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/1.035, allocations: 476.5 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/1.035, allocations: 158.6 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/1.035, allocations: 4 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/1.036, allocations: 115.2 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/1.036, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003386/1.036, allocations: 159.6 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.036, allocations: 55.41 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/1.036, allocations: 194.7 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/1.036, allocations: 33.7 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/1.036, allocations: 120.5 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/1.036, allocations: 35.55 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.037, allocations: 4 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.037, allocations: 334.8 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/1.037, allocations: 36.36 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.037, allocations: 125.7 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/1.037, allocations: 40.02 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.037, allocations: 0 / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002116/1.037, allocations: 149.3 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.037, allocations: 9.562 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.037, allocations: 0 / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.037, allocations: 4.125 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/1.037, allocations: 27.92 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.037, allocations: 0 / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/1.038, allocations: 27.89 kB / 1.028 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.038, allocations: 8 kB / 1.028 GB, free: 9.621 MB / 0.7794 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/1.038, allocations: 151.4 kB / 1.028 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/1.038, allocations: 19.75 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/1.038, allocations: 21.88 kB / 1.028 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.038, allocations: 3.984 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.038, allocations: 0 / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.038, allocations: 4 kB / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/1.039, allocations: 0.4944 MB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.039, allocations: 3.938 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/1.039, allocations: 11.98 kB / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.039, allocations: 0 / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/1.039, allocations: 0 / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.039, allocations: 4 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.039, allocations: 4 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/1.039, allocations: 237.8 kB / 1.029 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/1.039, allocations: 96.92 kB / 1.029 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/1.039, allocations: 0 / 1.029 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.039, allocations: 23.97 kB / 1.029 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/1.039, allocations: 15.97 kB / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/1.039, allocations: 12 kB / 1.029 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001079/1.039, allocations: 144.2 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.039, allocations: 0 / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003136/1.04, allocations: 51.94 kB / 1.029 GB, free: 8.238 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003738/1.04, allocations: 167.7 kB / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000231/1.04, allocations: 102 kB / 1.029 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.04, allocations: 0 / 1.029 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/1.04, allocations: 47.98 kB / 1.029 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/1.041, allocations: 61.08 kB / 1.029 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/1.041, allocations: 344 kB / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/1.042, allocations: 0.7282 MB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.25e-05/1.042, allocations: 29.53 kB / 1.031 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/1.042, allocations: 23.42 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/1.042, allocations: 0 / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of Templates: time 0.00701/1.049, allocations: 3.331 MB / 1.034 GB, free: 3.418 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches