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.0009787/0.0009787, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001512/0.001512, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9926/0.9926, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.093/2.093, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.412e-06/1.412e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.44e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002292/0.002307, allocations: 1.797 MB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003538, allocations: 0.9156 MB / 0.882 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.003625, allocations: 9.5 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.003802, allocations: 27.72 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.004183, allocations: 123.3 kB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.004521, allocations: 153 kB / 0.8823 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000377/0.004898, allocations: 247.3 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.00503, allocations: 33.72 kB / 0.8826 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/0.01812, allocations: 5.244 MB / 0.8877 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.01828, allocations: 99.72 kB / 0.8878 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.01831, allocations: 12 kB / 0.8878 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.01839, allocations: 39.88 kB / 0.8878 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.01844, allocations: 39.83 kB / 0.8879 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.0185, allocations: 59.81 kB / 0.8879 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.01875, allocations: 179.4 kB / 0.8881 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01875, allocations: 0 / 0.8881 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.31e-07/0.01875, allocations: 4 kB / 0.8881 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.01875, allocations: 4 kB / 0.8881 GB, free: 14.91 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.000505/0.01926, allocations: 0.581 MB / 0.8887 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.01929, allocations: 8.031 kB / 0.8887 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.01934, allocations: 28.78 kB / 0.8887 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.0195, allocations: 185.2 kB / 0.8889 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.01952, allocations: 12.38 kB / 0.8889 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.01954, allocations: 23.94 kB / 0.8889 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.01965, allocations: 93 kB / 0.889 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01966, allocations: 4 kB / 0.889 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.01967, allocations: 4 kB / 0.889 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.01967, allocations: 0 / 0.889 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.01971, allocations: 31.91 kB / 0.8891 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.02017, allocations: 0.5145 MB / 0.8896 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.02027, allocations: 94.02 kB / 0.8896 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.0203, allocations: 27.42 kB / 0.8897 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.02031, allocations: 12.11 kB / 0.8897 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.02043, allocations: 116.3 kB / 0.8898 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.02043, allocations: 0 / 0.8898 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002051/0.02063, allocations: 137.2 kB / 0.8899 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.02067, allocations: 85.05 kB / 0.89 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.02079, allocations: 251.8 kB / 0.8902 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.02082, allocations: 33.7 kB / 0.8903 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.02089, allocations: 175.3 kB / 0.8904 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.02091, allocations: 35.73 kB / 0.8905 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.02097, allocations: 67.3 kB / 0.8905 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.02108, allocations: 0.4962 MB / 0.891 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.0211, allocations: 15.92 kB / 0.891 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.02135, allocations: 267.7 kB / 0.8913 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.02143, allocations: 101.7 kB / 0.8914 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.02143, allocations: 3.938 kB / 0.8914 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001422/0.02158, allocations: 153.3 kB / 0.8915 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.02159, allocations: 4 kB / 0.8915 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.02159, allocations: 4 kB / 0.8916 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.0216, allocations: 0 / 0.8916 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.02166, allocations: 27.92 kB / 0.8916 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.02166, allocations: 4.156 kB / 0.8916 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.02175, allocations: 27.88 kB / 0.8916 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.02176, allocations: 4 kB / 0.8916 GB, free: 10.97 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.614e-05/0.02186, allocations: 178.5 kB / 0.8918 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.02188, allocations: 23.84 kB / 0.8918 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.02191, allocations: 25.45 kB / 0.8918 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.02191, allocations: 0 / 0.8918 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.02192, allocations: 0 / 0.8918 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02192, allocations: 4 kB / 0.8918 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.02222, allocations: 401.7 kB / 0.8922 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.02223, allocations: 0 / 0.8922 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.02224, allocations: 7.984 kB / 0.8922 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.02224, allocations: 0 / 0.8922 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.02225, allocations: 4 kB / 0.8922 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.02225, allocations: 0 / 0.8922 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02225, allocations: 4 kB / 0.8922 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.02239, allocations: 286.1 kB / 0.8925 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.0224, allocations: 15.84 kB / 0.8925 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.02241, allocations: 0 / 0.8925 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.02247, allocations: 19.98 kB / 0.8925 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.02252, allocations: 19.97 kB / 0.8926 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.02256, allocations: 7.984 kB / 0.8926 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.02262, allocations: 163.1 kB / 0.8927 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02262, allocations: 0 / 0.8927 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001985/0.02282, allocations: 40 kB / 0.8928 GB, free: 9.73 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.0002413/0.02306, allocations: 176.7 kB / 0.8929 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.02318, allocations: 82 kB / 0.893 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.02318, allocations: 4.125 kB / 0.893 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.02323, allocations: 45.48 kB / 0.8931 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.02348, allocations: 55.83 kB / 0.8931 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.02384, allocations: 306.6 kB / 0.8934 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.02387, allocations: 75.92 kB / 0.8935 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.03e-05/0.02392, allocations: 25.78 kB / 0.8935 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.02408, allocations: 146.1 kB / 0.8936 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.02408, allocations: 0 / 0.8936 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of Templates: time 0.005609/0.02969, allocations: 4.222 MB / 0.8978 GB, free: 4.629 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.520492246840149]