Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0009946/0.0009946, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009953/0.0009953, allocations: 173 kB / 23.5 MB, free: 1.055 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.9691/0.9691, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.124/2.124, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8781 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.592e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002119/0.002135, allocations: 1.801 MB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003238, allocations: 0.9229 MB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.003308, allocations: 5.062 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.003479, allocations: 31.72 kB / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.00376, allocations: 124.2 kB / 0.881 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.00399, allocations: 155.6 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.004209, allocations: 244.1 kB / 0.8813 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.004324, allocations: 29.73 kB / 0.8814 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.00446, allocations: 151.2 kB / 0.8815 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006843/0.0113, allocations: 2.661 MB / 0.8841 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.01134, allocations: 20 kB / 0.8841 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.511e-05/0.0114, allocations: 39.88 kB / 0.8842 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.01146, allocations: 43.83 kB / 0.8842 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.01153, allocations: 63.84 kB / 0.8843 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.01178, allocations: 191.3 kB / 0.8845 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01178, allocations: 4 kB / 0.8845 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01179, allocations: 0 / 0.8845 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.01179, allocations: 4 kB / 0.8845 GB, free: 1.195 MB / 0.8386 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.0005753/0.01237, allocations: 0.5926 MB / 0.885 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.0124, allocations: 8.031 kB / 0.885 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.01246, allocations: 24.84 kB / 0.8851 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.01265, allocations: 190 kB / 0.8853 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.01267, allocations: 16.31 kB / 0.8853 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.01269, allocations: 23.92 kB / 0.8853 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.01282, allocations: 101 kB / 0.8854 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.01283, allocations: 0 / 0.8854 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.01284, allocations: 3.984 kB / 0.8854 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.01285, allocations: 4 kB / 0.8854 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.01291, allocations: 31.97 kB / 0.8854 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.01347, allocations: 0.553 MB / 0.886 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.0136, allocations: 98.03 kB / 0.8861 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.01364, allocations: 27.44 kB / 0.8861 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.01365, allocations: 4 kB / 0.8861 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.01378, allocations: 131.2 kB / 0.8862 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.01378, allocations: 0 / 0.8862 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.000241/0.01402, allocations: 149.4 kB / 0.8864 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.01406, allocations: 81.23 kB / 0.8864 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.01421, allocations: 256.6 kB / 0.8867 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.01424, allocations: 33.7 kB / 0.8867 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.01432, allocations: 175.3 kB / 0.8869 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.01434, allocations: 31.75 kB / 0.8869 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.01441, allocations: 67.33 kB / 0.887 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01454, allocations: 0.4923 MB / 0.8875 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.01457, allocations: 19.98 kB / 0.8875 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.01475, allocations: 255.2 kB / 0.8877 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01485, allocations: 121 kB / 0.8878 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01486, allocations: 0 / 0.8878 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001695/0.01503, allocations: 153.3 kB / 0.888 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01504, allocations: 8 kB / 0.888 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01505, allocations: 0 / 0.888 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01506, allocations: 4 kB / 0.888 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.01513, allocations: 20.14 kB / 0.888 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01513, allocations: 15.88 kB / 0.888 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01524, allocations: 27.88 kB / 0.888 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.01524, allocations: 8 kB / 0.8881 GB, free: 13.15 MB / 0.8542 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 9.211e-05/0.01534, allocations: 170.6 kB / 0.8882 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.01536, allocations: 35.77 kB / 0.8883 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.01539, allocations: 17.47 kB / 0.8883 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01539, allocations: 0 / 0.8883 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.0154, allocations: 0 / 0.8883 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.0154, allocations: 4 kB / 0.8883 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.01574, allocations: 437.2 kB / 0.8887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01575, allocations: 0 / 0.8887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.01576, allocations: 4 kB / 0.8887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01576, allocations: 0 / 0.8887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01577, allocations: 7.984 kB / 0.8887 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01577, allocations: 0 / 0.8887 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01577, allocations: 0 / 0.8887 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.01594, allocations: 283.3 kB / 0.889 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01596, allocations: 27.83 kB / 0.889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.01597, allocations: 0 / 0.889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.01603, allocations: 15.98 kB / 0.889 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.01609, allocations: 19.97 kB / 0.889 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01611, allocations: 12 kB / 0.889 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.168e-05/0.01619, allocations: 171.2 kB / 0.8892 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01619, allocations: 4 kB / 0.8892 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002085/0.0164, allocations: 43.98 kB / 0.8893 GB, free: 11.85 MB / 0.8542 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.0002955/0.01669, allocations: 177.4 kB / 0.8894 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.01686, allocations: 93.3 kB / 0.8895 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01686, allocations: 4.062 kB / 0.8895 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.01693, allocations: 51.59 kB / 0.8896 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.0172, allocations: 63.78 kB / 0.8896 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.01761, allocations: 306.6 kB / 0.8899 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01766, allocations: 71.98 kB / 0.89 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.01771, allocations: 25.7 kB / 0.89 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.01775, allocations: 24.48 kB / 0.89 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01775, allocations: 0 / 0.89 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.005305/0.02306, allocations: 3.949 MB / 0.8939 GB, free: 7.117 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.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.414821428945288]