Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001842/0.001842, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.001998/0.001998, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.933/2.933, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.834e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003379/0.003408, allocations: 1.767 MB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.005299, allocations: 0.9289 MB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.005373, allocations: 3.938 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.005557, allocations: 27.73 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.005944, allocations: 119.4 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.006332, allocations: 157.5 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.006667, allocations: 243.3 kB / 0.7895 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.006798, allocations: 33.72 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.007038, allocations: 143.7 kB / 0.7897 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02351/0.03054, allocations: 3.219 MB / 0.7928 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.03064, allocations: 16 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.03078, allocations: 39.92 kB / 0.7929 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.03087, allocations: 44.45 kB / 0.7929 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.031, allocations: 64.72 kB / 0.793 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.03147, allocations: 243.2 kB / 0.7932 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.03147, allocations: 0 / 0.7932 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/0.03148, allocations: 1.156 kB / 0.7932 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.03148, allocations: 0 / 0.7932 GB, free: 7.055 MB / 0.7448 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.001013/0.03249, allocations: 0.5859 MB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.03253, allocations: 12.02 kB / 0.7938 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.03264, allocations: 33.62 kB / 0.7938 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.03298, allocations: 184.3 kB / 0.794 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.033, allocations: 13.22 kB / 0.794 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.03304, allocations: 15.94 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.03328, allocations: 126.2 kB / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.03329, allocations: 0 / 0.7942 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.03331, allocations: 4 kB / 0.7942 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.03331, allocations: 4.844 kB / 0.7942 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.03346, allocations: 47.97 kB / 0.7942 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.03459, allocations: 0.5672 MB / 0.7948 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.03482, allocations: 110.2 kB / 0.7949 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.0349, allocations: 44.86 kB / 0.7949 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.03492, allocations: 4 kB / 0.7949 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.03515, allocations: 131.2 kB / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.03515, allocations: 0 / 0.795 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004137/0.03557, allocations: 173.4 kB / 0.7952 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.03564, allocations: 85.03 kB / 0.7953 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.03597, allocations: 285.8 kB / 0.7956 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.03601, allocations: 29.7 kB / 0.7956 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.03616, allocations: 175.3 kB / 0.7958 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.03621, allocations: 44.17 kB / 0.7958 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.03634, allocations: 71.28 kB / 0.7959 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002956/0.03663, allocations: 0.5092 MB / 0.7964 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.03672, allocations: 31.98 kB / 0.7964 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.03711, allocations: 271.3 kB / 0.7967 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.03731, allocations: 132.4 kB / 0.7968 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.03732, allocations: 0.6562 kB / 0.7968 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003107/0.03763, allocations: 178.2 kB / 0.797 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.03767, allocations: 4 kB / 0.797 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.03768, allocations: 4 kB / 0.797 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.03769, allocations: 0 / 0.797 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.03782, allocations: 27.94 kB / 0.797 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.03783, allocations: 6.078 kB / 0.797 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.03803, allocations: 27.88 kB / 0.797 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.03804, allocations: 8 kB / 0.797 GB, free: 2.812 MB / 0.7448 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.0001783/0.03822, allocations: 182.5 kB / 0.7972 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.03827, allocations: 28.8 kB / 0.7972 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.03832, allocations: 21.45 kB / 0.7972 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.03833, allocations: 0 / 0.7972 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.03833, allocations: 5.125 kB / 0.7973 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.03834, allocations: 0 / 0.7973 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.03903, allocations: 454.2 kB / 0.7977 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.03903, allocations: 3.984 kB / 0.7977 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.03906, allocations: 11.94 kB / 0.7977 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.03906, allocations: 1.188 kB / 0.7977 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.03908, allocations: 4 kB / 0.7977 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.03908, allocations: 0 / 0.7977 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03908, allocations: 1.719 kB / 0.7977 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.03942, allocations: 298.9 kB / 0.798 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.03945, allocations: 11.91 kB / 0.798 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.03947, allocations: 7.938 kB / 0.798 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.03962, allocations: 20.27 kB / 0.798 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.0397, allocations: 15.97 kB / 0.798 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.03972, allocations: 11.98 kB / 0.7981 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000205/0.03993, allocations: 190.9 kB / 0.7982 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.03993, allocations: 3.938 kB / 0.7982 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003198/0.04025, allocations: 51.89 kB / 0.7983 GB, free: 1.457 MB / 0.7448 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.0005628/0.04081, allocations: 187.8 kB / 0.7985 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.04108, allocations: 111.5 kB / 0.7986 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.04108, allocations: 320 / 0.7986 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.0412, allocations: 65.72 kB / 0.7986 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.04171, allocations: 54.95 kB / 0.7987 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.04235, allocations: 314 kB / 0.799 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.04249, allocations: 112.3 kB / 0.7991 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.675e-05/0.04257, allocations: 21.62 kB / 0.7991 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.04264, allocations: 24.48 kB / 0.7991 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.04264, allocations: 0 / 0.7991 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of Templates: time 0.009621/0.05226, allocations: 3.937 MB / 0.803 GB, free: 12.66 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.065918694017455]