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.001841/0.001841, allocations: 85.48 kB / 19.44 MB, free: 344 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.002092/0.002092, allocations: 177.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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.371/3.371, allocations: 429.5 MB / 0.6729 GB, free: 3.992 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.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.373e-06/1.373e-06, allocations: 0 / 0.8774 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.895e-05, allocations: 3.969 kB / 0.8774 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003338/0.003367, allocations: 1.766 MB / 0.8791 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.00523, allocations: 0.9199 MB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.005297, allocations: 3.938 kB / 0.88 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.005485, allocations: 31.72 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.005863, allocations: 121.7 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.006255, allocations: 151.6 kB / 0.8803 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.006595, allocations: 247.3 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.00671, allocations: 21.8 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.006939, allocations: 153.8 kB / 0.8807 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02101/0.02795, allocations: 2.734 MB / 0.8834 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.02805, allocations: 16 kB / 0.8834 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.02821, allocations: 47.84 kB / 0.8835 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.0283, allocations: 43.83 kB / 0.8835 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.02843, allocations: 63.81 kB / 0.8836 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.02894, allocations: 243.2 kB / 0.8838 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.02895, allocations: 4 kB / 0.8838 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.02895, allocations: 0 / 0.8838 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.02896, allocations: 0 / 0.8838 GB, free: 0.9844 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.001034/0.02999, allocations: 0.5807 MB / 0.8844 GB, free: 364 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.03003, allocations: 8.031 kB / 0.8844 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.03016, allocations: 32.78 kB / 0.8844 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.0305, allocations: 189.1 kB / 0.8846 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.03052, allocations: 8.375 kB / 0.8846 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.03056, allocations: 15.94 kB / 0.8846 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.03077, allocations: 87.2 kB / 0.8847 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.03078, allocations: 0 / 0.8847 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.0308, allocations: 4 kB / 0.8847 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.0308, allocations: 7.984 kB / 0.8847 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.03093, allocations: 47.98 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009244/0.03186, allocations: 459.2 kB / 0.8852 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.03229, allocations: 131.1 kB / 0.8853 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.03236, allocations: 35.67 kB / 0.8853 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.03238, allocations: 8 kB / 0.8854 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.0326, allocations: 105 kB / 0.8855 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.0326, allocations: 0 / 0.8855 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004447/0.03304, allocations: 177.6 kB / 0.8856 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.03309, allocations: 55.34 kB / 0.8857 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.03352, allocations: 279.7 kB / 0.8859 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.03357, allocations: 37.69 kB / 0.886 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.03371, allocations: 175.3 kB / 0.8861 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.03376, allocations: 35.75 kB / 0.8862 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.03388, allocations: 71.33 kB / 0.8862 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003027/0.03419, allocations: 0.5118 MB / 0.8867 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.03427, allocations: 31.98 kB / 0.8868 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.03467, allocations: 257.9 kB / 0.887 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.03484, allocations: 112.9 kB / 0.8871 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.03484, allocations: 4 kB / 0.8871 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003222/0.03517, allocations: 169.3 kB / 0.8873 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.03518, allocations: 4 kB / 0.8873 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.03519, allocations: 4 kB / 0.8873 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.0352, allocations: 3.938 kB / 0.8873 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.0353, allocations: 23.98 kB / 0.8873 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.0353, allocations: 0 / 0.8873 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.0355, allocations: 27.88 kB / 0.8874 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.03552, allocations: 4 kB / 0.8874 GB, free: 13.04 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 0.0001693/0.03569, allocations: 182.5 kB / 0.8875 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.03573, allocations: 31.88 kB / 0.8876 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.03578, allocations: 21.8 kB / 0.8876 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.03579, allocations: 4 kB / 0.8876 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.03579, allocations: 0 / 0.8876 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0358, allocations: 0 / 0.8876 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.0366, allocations: 493.1 kB / 0.8881 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.03661, allocations: 4 kB / 0.8881 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.03663, allocations: 3.938 kB / 0.8881 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.03664, allocations: 4 kB / 0.8881 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.03665, allocations: 7.984 kB / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.03665, allocations: 0 / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03665, allocations: 0 / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.03701, allocations: 302.2 kB / 0.8884 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.03704, allocations: 15.91 kB / 0.8884 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.03707, allocations: 0 / 0.8884 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.03719, allocations: 15.98 kB / 0.8884 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.03727, allocations: 19.97 kB / 0.8884 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.0373, allocations: 7.984 kB / 0.8884 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002359/0.03753, allocations: 192.1 kB / 0.8886 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03753, allocations: 4 kB / 0.8886 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003268/0.03786, allocations: 43.94 kB / 0.8887 GB, free: 11.65 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.0005408/0.0384, allocations: 169.1 kB / 0.8888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.03867, allocations: 114 kB / 0.8889 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.03867, allocations: 0 / 0.8889 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.03881, allocations: 66.28 kB / 0.889 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.03927, allocations: 58.44 kB / 0.889 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.04004, allocations: 330.9 kB / 0.8894 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.04017, allocations: 108.2 kB / 0.8895 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.988e-05/0.04026, allocations: 25.61 kB / 0.8895 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.04033, allocations: 28.5 kB / 0.8895 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.04033, allocations: 0 / 0.8895 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.009868/0.0502, allocations: 4.023 MB / 0.8934 GB, free: 6.766 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.71561842795927]