Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001015/0.001015, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001588/0.001588, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9333/0.9333, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.114/2.114, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.774e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002605/0.002633, allocations: 1.793 MB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003857, allocations: 0.9266 MB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.003938, allocations: 3.938 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.004134, allocations: 31.72 kB / 0.8808 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.004476, allocations: 125.2 kB / 0.881 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.004812, allocations: 147.6 kB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.005079, allocations: 251.3 kB / 0.8813 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.005201, allocations: 25.72 kB / 0.8814 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.005354, allocations: 150.3 kB / 0.8815 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007455/0.01281, allocations: 2.722 MB / 0.8842 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.01287, allocations: 20 kB / 0.8842 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.01297, allocations: 39.94 kB / 0.8842 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.01303, allocations: 39.83 kB / 0.8843 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.01312, allocations: 71.8 kB / 0.8843 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.01343, allocations: 191.4 kB / 0.8845 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.01343, allocations: 0 / 0.8845 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01343, allocations: 0 / 0.8845 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.01344, allocations: 0 / 0.8845 GB, free: 1.156 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006396/0.01408, allocations: 0.581 MB / 0.8851 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.01412, allocations: 16.02 kB / 0.8851 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.01419, allocations: 24.8 kB / 0.8851 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.01441, allocations: 201.8 kB / 0.8853 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.01442, allocations: 12.38 kB / 0.8853 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.01445, allocations: 19.94 kB / 0.8853 GB, free: 236 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.01457, allocations: 77.58 kB / 0.8854 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01458, allocations: 0 / 0.8854 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.01459, allocations: 0 / 0.8854 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.0146, allocations: 4 kB / 0.8854 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.01467, allocations: 31.97 kB / 0.8854 GB, free: 116 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.01522, allocations: 435.3 kB / 0.8859 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.01546, allocations: 103.2 kB / 0.886 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.0155, allocations: 27.67 kB / 0.886 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.01551, allocations: 4 kB / 0.886 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.01565, allocations: 104.2 kB / 0.8861 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.01565, allocations: 4 kB / 0.8861 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002473/0.01589, allocations: 141.5 kB / 0.8862 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.01593, allocations: 67.33 kB / 0.8863 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.01611, allocations: 240.6 kB / 0.8865 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.01613, allocations: 33.7 kB / 0.8866 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.01621, allocations: 179.2 kB / 0.8867 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.01624, allocations: 31.78 kB / 0.8868 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.0163, allocations: 63.34 kB / 0.8868 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01647, allocations: 0.5001 MB / 0.8873 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.01651, allocations: 23.98 kB / 0.8873 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.0167, allocations: 228.9 kB / 0.8875 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.986e-05/0.01679, allocations: 100.9 kB / 0.8876 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01679, allocations: 3.938 kB / 0.8876 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001588/0.01695, allocations: 149.2 kB / 0.8878 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01696, allocations: 10.94 kB / 0.8878 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01697, allocations: 4 kB / 0.8878 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01698, allocations: 0 / 0.8878 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.01704, allocations: 31.92 kB / 0.8878 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.01705, allocations: 4 kB / 0.8878 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.01714, allocations: 23.88 kB / 0.8879 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.01715, allocations: 8 kB / 0.8879 GB, free: 13.42 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.602e-05/0.01724, allocations: 170.5 kB / 0.888 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.01726, allocations: 31.83 kB / 0.8881 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.01729, allocations: 21.81 kB / 0.8881 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0173, allocations: 4 kB / 0.8881 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.0173, allocations: 0 / 0.8881 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.0173, allocations: 0 / 0.8881 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.01771, allocations: 457.1 kB / 0.8885 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01771, allocations: 4 kB / 0.8885 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.01773, allocations: 3.984 kB / 0.8885 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01773, allocations: 4 kB / 0.8885 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.01774, allocations: 0 / 0.8885 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01774, allocations: 7.984 kB / 0.8885 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01774, allocations: 0 / 0.8885 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.0179, allocations: 290.1 kB / 0.8888 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01792, allocations: 19.84 kB / 0.8888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.01794, allocations: 4 kB / 0.8888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.018, allocations: 11.98 kB / 0.8889 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.01805, allocations: 19.95 kB / 0.8889 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.01807, allocations: 8 kB / 0.8889 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002032/0.01827, allocations: 175.2 kB / 0.889 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01827, allocations: 0 / 0.889 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002089/0.01848, allocations: 40 kB / 0.8891 GB, free: 12.11 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003142/0.0188, allocations: 183.2 kB / 0.8893 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.01896, allocations: 98.64 kB / 0.8894 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01896, allocations: 0 / 0.8894 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.01902, allocations: 55.59 kB / 0.8894 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.0193, allocations: 58.5 kB / 0.8895 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.01977, allocations: 307.2 kB / 0.8898 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.01981, allocations: 75.98 kB / 0.8898 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.01987, allocations: 25.61 kB / 0.8899 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.01992, allocations: 28.48 kB / 0.8899 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01992, allocations: 0 / 0.8899 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.005941/0.02586, allocations: 4.025 MB / 0.8938 GB, free: 7.293 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.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.433881761971861]