Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001061/0.001061, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001204/0.001204, allocations: 169 kB / 23.27 MB, free: 1.223 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.9998/0.9998, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.398/2.398, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.068e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003314/0.003345, allocations: 1.794 MB / 0.8915 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004906, allocations: 0.916 MB / 0.8924 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.005001, allocations: 3.938 kB / 0.8924 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.005192, allocations: 31.72 kB / 0.8924 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.005607, allocations: 131.2 kB / 0.8925 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.005966, allocations: 151.6 kB / 0.8927 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.006262, allocations: 247.3 kB / 0.8929 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.006396, allocations: 37.72 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01745/0.02385, allocations: 6.337 MB / 0.8991 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.02405, allocations: 99.72 kB / 0.8992 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.02409, allocations: 16 kB / 0.8992 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.02418, allocations: 35.94 kB / 0.8993 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.02425, allocations: 39.83 kB / 0.8993 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.02432, allocations: 59.81 kB / 0.8994 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.02462, allocations: 179.4 kB / 0.8995 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.02462, allocations: 0 / 0.8995 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.763e-06/0.02462, allocations: 0 / 0.8995 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.02463, allocations: 4 kB / 0.8995 GB, free: 1.973 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005418/0.02517, allocations: 0.5845 MB / 0.9001 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.02521, allocations: 12.61 kB / 0.9001 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.02527, allocations: 28.84 kB / 0.9002 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.02543, allocations: 177.2 kB / 0.9003 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.02545, allocations: 16.31 kB / 0.9003 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.02547, allocations: 19.94 kB / 0.9004 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.02558, allocations: 93 kB / 0.9004 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.02558, allocations: 4 kB / 0.9004 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.02559, allocations: 3.984 kB / 0.9005 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.0256, allocations: 0 / 0.9005 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.02564, allocations: 31.91 kB / 0.9005 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.02609, allocations: 0.5107 MB / 0.901 GB, free: 388 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.02619, allocations: 94.02 kB / 0.9011 GB, free: 268 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.02622, allocations: 27.42 kB / 0.9011 GB, free: 232 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.02624, allocations: 4 kB / 0.9011 GB, free: 228 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.02636, allocations: 124.4 kB / 0.9012 GB, free: 80 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 9.91e-07/0.02636, allocations: 4 kB / 0.9012 GB, free: 76 kB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002018/0.02656, allocations: 125.5 kB / 0.9013 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.0266, allocations: 85.05 kB / 0.9014 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.02672, allocations: 246.1 kB / 0.9017 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.02675, allocations: 37.69 kB / 0.9017 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.02682, allocations: 171.3 kB / 0.9019 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.02685, allocations: 27.73 kB / 0.9019 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.02692, allocations: 71.3 kB / 0.902 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.02706, allocations: 0.5041 MB / 0.9024 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.02708, allocations: 19.98 kB / 0.9025 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.02725, allocations: 263.9 kB / 0.9027 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.769e-05/0.02733, allocations: 112.2 kB / 0.9028 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.02733, allocations: 0 / 0.9028 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001334/0.02747, allocations: 149.3 kB / 0.903 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.02748, allocations: 4 kB / 0.903 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02748, allocations: 4 kB / 0.903 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.0275, allocations: 0 / 0.903 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.02755, allocations: 27.92 kB / 0.903 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.02756, allocations: 0 / 0.903 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.02764, allocations: 27.88 kB / 0.903 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.02765, allocations: 8 kB / 0.903 GB, free: 14.04 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001471/0.0278, allocations: 170.6 kB / 0.9032 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.02782, allocations: 35.86 kB / 0.9032 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.02785, allocations: 17.47 kB / 0.9032 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.02786, allocations: 0 / 0.9032 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.02786, allocations: 0 / 0.9032 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.02786, allocations: 7.984 kB / 0.9033 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.02816, allocations: 401.8 kB / 0.9036 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.02816, allocations: 0 / 0.9036 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.02817, allocations: 11.98 kB / 0.9036 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.02818, allocations: 4 kB / 0.9037 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.02818, allocations: 0 / 0.9037 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.02818, allocations: 4 kB / 0.9037 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.02818, allocations: 0 / 0.9037 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.02831, allocations: 279.4 kB / 0.9039 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.02833, allocations: 15.84 kB / 0.9039 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.02834, allocations: 3.984 kB / 0.9039 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.02839, allocations: 12 kB / 0.904 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.02844, allocations: 23.95 kB / 0.904 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.02845, allocations: 4 kB / 0.904 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.02851, allocations: 164.4 kB / 0.9041 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02851, allocations: 4 kB / 0.9041 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001854/0.02869, allocations: 43.95 kB / 0.9042 GB, free: 12.78 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0002558/0.02895, allocations: 181.9 kB / 0.9044 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.02907, allocations: 83.5 kB / 0.9044 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02908, allocations: 0 / 0.9044 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.02912, allocations: 39.61 kB / 0.9045 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.02937, allocations: 66.66 kB / 0.9045 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.02972, allocations: 302.6 kB / 0.9048 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.0299, allocations: 76.23 kB / 0.9049 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.02995, allocations: 17.64 kB / 0.9049 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.0301, allocations: 146.1 kB / 0.9051 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of SimCode: time 6.22e-07/0.0301, allocations: 0 / 0.9051 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of Templates: time 0.005624/0.03573, allocations: 4.163 MB / 0.9091 GB, free: 7.762 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.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.555028913076967]