Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001465/0.001465, allocations: 93.06 kB / 19.65 MB, free: 272 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.001734/0.001734, allocations: 165 kB / 23.02 MB, free: 1.547 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.9596/0.9596, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.133/2.133, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.503e-05, allocations: 2.875 kB / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002023/0.002038, allocations: 1.804 MB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003083, allocations: 0.9332 MB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.003145, allocations: 3.938 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.003306, allocations: 27.72 kB / 0.8809 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.003592, allocations: 128 kB / 0.881 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.003825, allocations: 153.3 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.004026, allocations: 243.3 kB / 0.8814 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004126, allocations: 21.73 kB / 0.8814 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004254, allocations: 151.7 kB / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008587/0.01284, allocations: 3.255 MB / 0.8847 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.01289, allocations: 20 kB / 0.8847 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.01298, allocations: 39.92 kB / 0.8848 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.01304, allocations: 39.83 kB / 0.8848 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.01313, allocations: 67.8 kB / 0.8849 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.01345, allocations: 191.3 kB / 0.885 GB, free: 472 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01345, allocations: 0 / 0.885 GB, free: 472 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/0.01346, allocations: 4 kB / 0.885 GB, free: 468 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.01346, allocations: 0 / 0.885 GB, free: 468 kB / 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.0005759/0.01404, allocations: 0.5888 MB / 0.8856 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.01407, allocations: 8.031 kB / 0.8856 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.01413, allocations: 32.8 kB / 0.8857 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.01432, allocations: 193.9 kB / 0.8858 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.01434, allocations: 12.36 kB / 0.8859 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.01436, allocations: 19.94 kB / 0.8859 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.01448, allocations: 73.59 kB / 0.8859 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01449, allocations: 4 kB / 0.8859 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.0145, allocations: 8 kB / 0.886 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01451, allocations: 0 / 0.886 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.01457, allocations: 38.89 kB / 0.886 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.01505, allocations: 431.2 kB / 0.8864 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.01527, allocations: 107.2 kB / 0.8865 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.0153, allocations: 23.69 kB / 0.8865 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.01532, allocations: 7.984 kB / 0.8865 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.01544, allocations: 105.1 kB / 0.8866 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.01545, allocations: 0 / 0.8866 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002227/0.01567, allocations: 144.2 kB / 0.8868 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.0157, allocations: 59.34 kB / 0.8868 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01584, allocations: 255.1 kB / 0.8871 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01586, allocations: 33.7 kB / 0.8871 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.01593, allocations: 167.2 kB / 0.8873 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.01596, allocations: 39.78 kB / 0.8873 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.01602, allocations: 59.33 kB / 0.8874 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01614, allocations: 0.5001 MB / 0.8878 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.01618, allocations: 23.98 kB / 0.8879 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.01635, allocations: 238.7 kB / 0.8881 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.01643, allocations: 93.66 kB / 0.8882 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01644, allocations: 0 / 0.8882 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001475/0.01658, allocations: 153.3 kB / 0.8883 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.0166, allocations: 11.98 kB / 0.8883 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.0166, allocations: 0 / 0.8883 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.01662, allocations: 4 kB / 0.8883 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.01667, allocations: 19.94 kB / 0.8884 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.01667, allocations: 0 / 0.8884 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.01676, allocations: 27.88 kB / 0.8884 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.01677, allocations: 8 kB / 0.8884 GB, free: 12.72 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.049e-05/0.01685, allocations: 178.5 kB / 0.8886 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.01687, allocations: 27.88 kB / 0.8886 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.01691, allocations: 29.73 kB / 0.8886 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01691, allocations: 0 / 0.8886 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01691, allocations: 0 / 0.8886 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01691, allocations: 48 / 0.8886 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.01728, allocations: 461.1 kB / 0.8891 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01728, allocations: 0 / 0.8891 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.01729, allocations: 8 kB / 0.8891 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.01729, allocations: 0 / 0.8891 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.0173, allocations: 0 / 0.8891 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.0173, allocations: 12 kB / 0.8891 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.0173, allocations: 3.984 kB / 0.8891 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.0175, allocations: 286.7 kB / 0.8894 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.01752, allocations: 23.83 kB / 0.8894 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.01753, allocations: 0 / 0.8894 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.01759, allocations: 15.98 kB / 0.8894 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.01765, allocations: 19.97 kB / 0.8894 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01766, allocations: 4 kB / 0.8894 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.496e-05/0.01774, allocations: 171.1 kB / 0.8896 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01774, allocations: 0 / 0.8896 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001937/0.01793, allocations: 51.98 kB / 0.8896 GB, free: 11.39 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.0002727/0.0182, allocations: 168.8 kB / 0.8898 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.01836, allocations: 87.47 kB / 0.8899 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01836, allocations: 0 / 0.8899 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.01842, allocations: 59.53 kB / 0.8899 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.01867, allocations: 51.81 kB / 0.89 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.01903, allocations: 286.5 kB / 0.8903 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.01907, allocations: 75.98 kB / 0.8903 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.01912, allocations: 33.48 kB / 0.8904 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.01917, allocations: 24.5 kB / 0.8904 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01917, allocations: 0 / 0.8904 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.005367/0.02454, allocations: 4.021 MB / 0.8943 GB, free: 6.629 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.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.563859277870506]