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.001765/0.001765, allocations: 85.48 kB / 19.44 MB, free: 336 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.001939/0.001939, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.133 MB / 186.7 MB " [Timeout remaining time 178] 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 3.319/3.319, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.222e-06/1.222e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.759e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003486/0.003514, allocations: 1.782 MB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.005322, allocations: 0.9147 MB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.005391, allocations: 4.969 kB / 0.8801 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.005578, allocations: 31.67 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.005957, allocations: 120.4 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.006356, allocations: 155.6 kB / 0.8804 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.006702, allocations: 252.5 kB / 0.8806 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.006827, allocations: 21.8 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.007059, allocations: 155.7 kB / 0.8808 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02379/0.03085, allocations: 3.212 MB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.03094, allocations: 16 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.03109, allocations: 39.94 kB / 0.884 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.03117, allocations: 43.81 kB / 0.884 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.03131, allocations: 71.8 kB / 0.8841 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.03179, allocations: 243.2 kB / 0.8843 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.03179, allocations: 0 / 0.8843 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.313e-06/0.03179, allocations: 0 / 0.8843 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.0318, allocations: 0 / 0.8843 GB, free: 0.7969 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.0009955/0.03279, allocations: 0.5846 MB / 0.8849 GB, free: 168 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.03284, allocations: 12.03 kB / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.03293, allocations: 24.8 kB / 0.8849 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.0333, allocations: 193.2 kB / 0.8851 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.03332, allocations: 12.38 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.03336, allocations: 23.88 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.03362, allocations: 113 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.03363, allocations: 0 / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.03364, allocations: 8 kB / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.03364, allocations: 0 / 0.8852 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.03378, allocations: 55.95 kB / 0.8853 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.03479, allocations: 0.5725 MB / 0.8858 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.03501, allocations: 114 kB / 0.886 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.03511, allocations: 43.42 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.03513, allocations: 4 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.03536, allocations: 127.2 kB / 0.8861 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.03536, allocations: 0 / 0.8861 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004021/0.03576, allocations: 169.5 kB / 0.8863 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.03583, allocations: 85.11 kB / 0.8864 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.03614, allocations: 287.6 kB / 0.8866 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.03619, allocations: 33.7 kB / 0.8867 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.03634, allocations: 175.3 kB / 0.8868 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.03639, allocations: 35.73 kB / 0.8869 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.03651, allocations: 71.33 kB / 0.8869 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002822/0.03679, allocations: 0.5079 MB / 0.8874 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.03686, allocations: 31.98 kB / 0.8875 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.03725, allocations: 271.2 kB / 0.8877 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.03745, allocations: 145.2 kB / 0.8879 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.03745, allocations: 0 / 0.8879 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003242/0.03777, allocations: 169.3 kB / 0.888 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.03779, allocations: 4 kB / 0.888 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.03779, allocations: 0 / 0.888 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.03781, allocations: 4.156 kB / 0.888 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.03791, allocations: 23.98 kB / 0.8881 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.03792, allocations: 7.938 kB / 0.8881 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.03813, allocations: 27.88 kB / 0.8881 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.03815, allocations: 12 kB / 0.8881 GB, free: 12.54 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 0.000169/0.03832, allocations: 182.6 kB / 0.8883 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.03836, allocations: 23.84 kB / 0.8883 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.03842, allocations: 21.47 kB / 0.8883 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.03842, allocations: 7.922 kB / 0.8883 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.03842, allocations: 3.938 kB / 0.8883 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.03843, allocations: 8 kB / 0.8883 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.0391, allocations: 457.2 kB / 0.8888 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.0391, allocations: 0 / 0.8888 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.03913, allocations: 7.984 kB / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.03913, allocations: 0 / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.03914, allocations: 4 kB / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.03914, allocations: 0 / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03914, allocations: 0 / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.03946, allocations: 303.3 kB / 0.8891 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.03949, allocations: 12 kB / 0.8891 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.03952, allocations: 12 kB / 0.8891 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.03964, allocations: 11.97 kB / 0.8891 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-05/0.03972, allocations: 19.97 kB / 0.8891 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.03975, allocations: 11.98 kB / 0.8891 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000181/0.03993, allocations: 192.1 kB / 0.8893 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03993, allocations: 0 / 0.8893 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003088/0.04024, allocations: 47.94 kB / 0.8894 GB, free: 11.17 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.0005231/0.04076, allocations: 171.3 kB / 0.8895 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.04104, allocations: 111.5 kB / 0.8896 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.04104, allocations: 0 / 0.8896 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.04115, allocations: 59.61 kB / 0.8897 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.04159, allocations: 66.06 kB / 0.8898 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.04222, allocations: 314.6 kB / 0.8901 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.04234, allocations: 116.6 kB / 0.8902 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.04242, allocations: 21.62 kB / 0.8902 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.04248, allocations: 24.5 kB / 0.8902 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.04248, allocations: 0 / 0.8902 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.009214/0.0517, allocations: 3.951 MB / 0.8941 GB, free: 6.375 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.52949859702494]