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.001104/0.001104, 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.001522/0.001522, allocations: 169 kB / 23.27 MB, free: 1.219 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.9837/0.9837, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.353/2.353, allocations: 438.1 MB / 0.682 GB, free: 14.14 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.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.403e-06/1.403e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.263e-05, allocations: 17.42 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002211/0.002233, allocations: 1.775 MB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003424, allocations: 0.916 MB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.003495, allocations: 7.938 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.003655, allocations: 31.7 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.003953, allocations: 127.3 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.004198, allocations: 151.6 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.00441, allocations: 255.3 kB / 0.8929 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004518, allocations: 33.72 kB / 0.8929 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/0.01779, allocations: 5.247 MB / 0.898 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.01795, allocations: 99.73 kB / 0.8981 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.01799, allocations: 12 kB / 0.8982 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.01807, allocations: 43.92 kB / 0.8982 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.01812, allocations: 39.83 kB / 0.8982 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.01819, allocations: 59.81 kB / 0.8983 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.01846, allocations: 175.4 kB / 0.8985 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01846, allocations: 0 / 0.8985 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01846, allocations: 4 kB / 0.8985 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.01847, allocations: 0 / 0.8985 GB, free: 2.664 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.0005042/0.01897, allocations: 0.5884 MB / 0.899 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01901, allocations: 8.625 kB / 0.899 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.01906, allocations: 28.84 kB / 0.8991 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.01922, allocations: 181.2 kB / 0.8992 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.01923, allocations: 12.38 kB / 0.8993 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.01925, allocations: 15.94 kB / 0.8993 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.01936, allocations: 100.9 kB / 0.8994 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.01937, allocations: 0 / 0.8994 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.01938, allocations: 8 kB / 0.8994 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.01938, allocations: 4 kB / 0.8994 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.01942, allocations: 23.97 kB / 0.8994 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.01986, allocations: 0.5067 MB / 0.8999 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.667e-05/0.01996, allocations: 98 kB / 0.9 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.01999, allocations: 31.44 kB / 0.9 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.02001, allocations: 4 kB / 0.9 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.02012, allocations: 128.4 kB / 0.9001 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.02013, allocations: 0 / 0.9001 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0001905/0.02032, allocations: 124.6 kB / 0.9003 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.02036, allocations: 89.05 kB / 0.9004 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.02048, allocations: 246.1 kB / 0.9006 GB, free: 280 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.0205, allocations: 33.64 kB / 0.9006 GB, free: 240 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.02057, allocations: 171.3 kB / 0.9008 GB, free: 64 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.0206, allocations: 39.84 kB / 0.9008 GB, free: 24 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.02067, allocations: 67.36 kB / 0.9009 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.02078, allocations: 0.4962 MB / 0.9014 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.0208, allocations: 15.98 kB / 0.9014 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.02096, allocations: 259.9 kB / 0.9016 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.02104, allocations: 109.7 kB / 0.9017 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02104, allocations: 4 kB / 0.9017 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001325/0.02117, allocations: 141.3 kB / 0.9019 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.02118, allocations: 7.938 kB / 0.9019 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.02119, allocations: 4 kB / 0.9019 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.02121, allocations: 4 kB / 0.9019 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.02127, allocations: 23.98 kB / 0.9019 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.02128, allocations: 0 / 0.9019 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.02136, allocations: 27.88 kB / 0.9019 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.02137, allocations: 12.09 kB / 0.902 GB, free: 14.73 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 8.287e-05/0.02145, allocations: 170.6 kB / 0.9021 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.02147, allocations: 27.84 kB / 0.9021 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.02151, allocations: 21.45 kB / 0.9022 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02151, allocations: 0 / 0.9022 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.02151, allocations: 4 kB / 0.9022 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02151, allocations: 0 / 0.9022 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.02181, allocations: 406.6 kB / 0.9026 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02181, allocations: 0 / 0.9026 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.02183, allocations: 15.92 kB / 0.9026 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.02183, allocations: 4 kB / 0.9026 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.02184, allocations: 4 kB / 0.9026 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02184, allocations: 0 / 0.9026 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.02184, allocations: 7.938 kB / 0.9026 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.02198, allocations: 270.8 kB / 0.9028 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.02199, allocations: 15.84 kB / 0.9029 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.02201, allocations: 8 kB / 0.9029 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.02206, allocations: 7.984 kB / 0.9029 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.0221, allocations: 23.91 kB / 0.9029 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.02212, allocations: 16.08 kB / 0.9029 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.02218, allocations: 160.4 kB / 0.9031 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02218, allocations: 0 / 0.9031 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001878/0.02237, allocations: 47.94 kB / 0.9031 GB, free: 13.47 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.0002708/0.02264, allocations: 176.3 kB / 0.9033 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.02276, allocations: 75.52 kB / 0.9033 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02276, allocations: 0 / 0.9033 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.02281, allocations: 47.59 kB / 0.9034 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.02306, allocations: 74.77 kB / 0.9035 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.02343, allocations: 310.5 kB / 0.9038 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.02347, allocations: 76.23 kB / 0.9038 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.02352, allocations: 21.72 kB / 0.9039 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.02367, allocations: 146.1 kB / 0.904 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of SimCode: time 8.51e-07/0.02367, allocations: 0 / 0.904 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of Templates: time 0.005609/0.02928, allocations: 4.154 MB / 0.9081 GB, free: 8.434 MB / 0.8698 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.500151474028826]