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.0009716/0.0009716, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001048/0.001048, allocations: 173 kB / 23.03 MB, free: 1.543 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.8968/0.8968, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.006/2.006, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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.332e-06/1.332e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.874e-05, allocations: 6.047 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002149/0.002167, allocations: 1.8 MB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003322, allocations: 0.9282 MB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.353e-05/0.003405, allocations: 3.938 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.003584, allocations: 27.73 kB / 0.8808 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.003934, allocations: 129.6 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.004224, allocations: 159.6 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.004462, allocations: 239.3 kB / 0.8813 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.004589, allocations: 33.72 kB / 0.8814 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01443/0.01902, allocations: 5.245 MB / 0.8865 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.01921, allocations: 99.73 kB / 0.8866 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.01925, allocations: 16 kB / 0.8866 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.01934, allocations: 31.94 kB / 0.8866 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.01941, allocations: 39.83 kB / 0.8867 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.01949, allocations: 63.81 kB / 0.8867 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.0198, allocations: 179.4 kB / 0.8869 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.0198, allocations: 0 / 0.8869 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.132e-06/0.0198, allocations: 0 / 0.8869 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.01981, allocations: 3.938 kB / 0.8869 GB, free: 15.18 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.0005964/0.0204, allocations: 0.5849 MB / 0.8875 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.02044, allocations: 8.031 kB / 0.8875 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.02051, allocations: 32.84 kB / 0.8875 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.02069, allocations: 181.2 kB / 0.8877 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.02071, allocations: 12.38 kB / 0.8877 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.02073, allocations: 19.94 kB / 0.8877 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.02088, allocations: 97.02 kB / 0.8878 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.02088, allocations: 0 / 0.8878 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.0209, allocations: 8 kB / 0.8878 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.0209, allocations: 4 kB / 0.8878 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.02097, allocations: 42.7 kB / 0.8879 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.02154, allocations: 0.5374 MB / 0.8884 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.02166, allocations: 86.11 kB / 0.8885 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.0217, allocations: 43.55 kB / 0.8885 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.02172, allocations: 4 kB / 0.8885 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.02185, allocations: 123.6 kB / 0.8886 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.02185, allocations: 0 / 0.8886 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002341/0.02209, allocations: 145.4 kB / 0.8888 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.02212, allocations: 89.03 kB / 0.8889 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.02327, allocations: 251.1 kB / 0.8891 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.02329, allocations: 37.64 kB / 0.8891 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.02339, allocations: 167.3 kB / 0.8893 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.02342, allocations: 43.84 kB / 0.8893 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.02348, allocations: 63.34 kB / 0.8894 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.02359, allocations: 0.5001 MB / 0.8899 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.02362, allocations: 19.98 kB / 0.8899 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.0238, allocations: 264 kB / 0.8902 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.292e-05/0.02389, allocations: 117.3 kB / 0.8903 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.02389, allocations: 0 / 0.8903 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001546/0.02405, allocations: 161.3 kB / 0.8904 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.02406, allocations: 4 kB / 0.8904 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.02406, allocations: 4 kB / 0.8904 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.02408, allocations: 0 / 0.8904 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.02415, allocations: 31.92 kB / 0.8905 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.02416, allocations: 0 / 0.8905 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.02426, allocations: 23.88 kB / 0.8905 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.02427, allocations: 12 kB / 0.8905 GB, free: 11.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 8.166e-05/0.02435, allocations: 174.7 kB / 0.8907 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.02437, allocations: 27.84 kB / 0.8907 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.0244, allocations: 21.45 kB / 0.8907 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.02441, allocations: 4 kB / 0.8907 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.02441, allocations: 0 / 0.8907 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.02441, allocations: 0 / 0.8907 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.02482, allocations: 433.1 kB / 0.8911 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02482, allocations: 4 kB / 0.8911 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.02484, allocations: 7.984 kB / 0.8911 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.02484, allocations: 8 kB / 0.8911 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.02485, allocations: 3.938 kB / 0.8912 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02485, allocations: 0 / 0.8912 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.02485, allocations: 7.938 kB / 0.8912 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.025, allocations: 279.4 kB / 0.8914 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.02501, allocations: 15.84 kB / 0.8914 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.02503, allocations: 4 kB / 0.8914 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.02508, allocations: 11.98 kB / 0.8915 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.02514, allocations: 19.97 kB / 0.8915 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.02516, allocations: 11.98 kB / 0.8915 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.02523, allocations: 171.1 kB / 0.8916 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02523, allocations: 4 kB / 0.8917 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001962/0.02543, allocations: 40 kB / 0.8917 GB, free: 9.855 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.0003044/0.02573, allocations: 180.5 kB / 0.8919 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.02588, allocations: 83.58 kB / 0.8919 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02589, allocations: 0 / 0.8919 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.02594, allocations: 47.61 kB / 0.892 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.02621, allocations: 67.77 kB / 0.8921 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.02663, allocations: 306.6 kB / 0.8923 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.02667, allocations: 75.98 kB / 0.8924 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.875e-05/0.02672, allocations: 21.62 kB / 0.8924 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.02676, allocations: 24.5 kB / 0.8925 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.02676, allocations: 0 / 0.8925 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.005762/0.03252, allocations: 4.182 MB / 0.8965 GB, free: 4.895 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.254946563858539]