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.001119/0.001119, 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.001201/0.001201, allocations: 173 kB / 23.49 MB, free: 1.059 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.99/0.99, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.207/2.207, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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.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 1.413e-06/1.413e-06, allocations: 0 / 0.8781 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.614e-05, allocations: 10.47 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.001991/0.002008, allocations: 1.795 MB / 0.8799 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003187, allocations: 0.9326 MB / 0.8808 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.003253, allocations: 7.094 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.00341, allocations: 23.73 kB / 0.8809 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.003689, allocations: 123.3 kB / 0.881 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.003921, allocations: 155.6 kB / 0.8811 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.004136, allocations: 251.3 kB / 0.8814 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004244, allocations: 25.73 kB / 0.8814 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.004379, allocations: 155.7 kB / 0.8815 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008239/0.01262, allocations: 3.213 MB / 0.8847 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.01265, allocations: 16 kB / 0.8847 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.414e-05/0.01272, allocations: 35.94 kB / 0.8847 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.01277, allocations: 43.81 kB / 0.8848 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.01284, allocations: 71.8 kB / 0.8848 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.0131, allocations: 191.3 kB / 0.885 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.0131, allocations: 4 kB / 0.885 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.0131, allocations: 0 / 0.885 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.0131, allocations: 0 / 0.885 GB, free: 0.7695 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.000567/0.01367, allocations: 0.581 MB / 0.8856 GB, free: 144 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.0137, allocations: 12.03 kB / 0.8856 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.01376, allocations: 28.78 kB / 0.8856 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.01397, allocations: 197.9 kB / 0.8858 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.01399, allocations: 8.375 kB / 0.8858 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.01401, allocations: 23.94 kB / 0.8858 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.01415, allocations: 105 kB / 0.8859 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.01416, allocations: 0 / 0.8859 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.01417, allocations: 4 kB / 0.8859 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.01418, allocations: 0 / 0.8859 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.01424, allocations: 35.97 kB / 0.886 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.01477, allocations: 0.553 MB / 0.8865 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.0149, allocations: 98.16 kB / 0.8866 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.01493, allocations: 35.42 kB / 0.8866 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.01495, allocations: 4 kB / 0.8866 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.01507, allocations: 116.4 kB / 0.8868 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.01508, allocations: 0 / 0.8868 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002491/0.01532, allocations: 148.4 kB / 0.8869 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.01536, allocations: 85.17 kB / 0.887 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01551, allocations: 255.6 kB / 0.8872 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.01554, allocations: 37.69 kB / 0.8873 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.01561, allocations: 163.3 kB / 0.8874 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.01563, allocations: 39.73 kB / 0.8875 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.0157, allocations: 59.33 kB / 0.8875 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01581, allocations: 0.504 MB / 0.888 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.01585, allocations: 19.98 kB / 0.888 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.01603, allocations: 250.5 kB / 0.8883 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.66e-05/0.01612, allocations: 117.7 kB / 0.8884 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01613, allocations: 0 / 0.8884 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001559/0.01628, allocations: 157.4 kB / 0.8885 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.0163, allocations: 4 kB / 0.8885 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.0163, allocations: 4 kB / 0.8885 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.01631, allocations: 0 / 0.8885 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.01639, allocations: 28.08 kB / 0.8886 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01639, allocations: 4 kB / 0.8886 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.01649, allocations: 31.88 kB / 0.8886 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.0165, allocations: 8 kB / 0.8886 GB, free: 12.73 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.031e-05/0.01659, allocations: 178.5 kB / 0.8888 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01662, allocations: 27.84 kB / 0.8888 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.01665, allocations: 17.47 kB / 0.8888 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01665, allocations: 4 kB / 0.8888 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01665, allocations: 7.922 kB / 0.8888 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01666, allocations: 0 / 0.8888 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.01701, allocations: 436.1 kB / 0.8892 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01701, allocations: 0 / 0.8892 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.01702, allocations: 11.94 kB / 0.8893 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01703, allocations: 3.984 kB / 0.8893 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.01703, allocations: 0 / 0.8893 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01704, allocations: 4 kB / 0.8893 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01704, allocations: 0 / 0.8893 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.01719, allocations: 283.3 kB / 0.8895 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.01721, allocations: 15.84 kB / 0.8895 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.01723, allocations: 8 kB / 0.8896 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.01729, allocations: 11.98 kB / 0.8896 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.01734, allocations: 19.97 kB / 0.8896 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.01735, allocations: 4 kB / 0.8896 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.895e-05/0.01743, allocations: 184.1 kB / 0.8898 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01743, allocations: 0 / 0.8898 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002055/0.01764, allocations: 47.98 kB / 0.8898 GB, free: 11.43 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.0002705/0.01791, allocations: 182.5 kB / 0.89 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01806, allocations: 95.77 kB / 0.8901 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01806, allocations: 0 / 0.8901 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.01814, allocations: 50.7 kB / 0.8901 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.0184, allocations: 55.16 kB / 0.8902 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.01878, allocations: 290.7 kB / 0.8905 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.01882, allocations: 71.98 kB / 0.8905 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.168e-05/0.01887, allocations: 29.73 kB / 0.8905 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.01891, allocations: 20.5 kB / 0.8906 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01891, allocations: 4 kB / 0.8906 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005219/0.02413, allocations: 3.95 MB / 0.8944 GB, free: 6.715 MB / 0.8542 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.465042792027816]