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.0009485/0.0009485, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009038/0.0009038, allocations: 173 kB / 23.03 MB, free: 1.543 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.9628/0.9628, 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.087/2.087, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.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.573e-06/1.573e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.667e-05, allocations: 9.719 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002619/0.002646, allocations: 1.805 MB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003824, allocations: 0.9302 MB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.003901, allocations: 4 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.00408, allocations: 27.7 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.004419, allocations: 127.3 kB / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.004702, allocations: 151.6 kB / 0.8811 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.004937, allocations: 243.3 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.005062, allocations: 41.61 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01651/0.02158, allocations: 6.348 MB / 0.8876 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.02175, allocations: 99.78 kB / 0.8877 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.02179, allocations: 16 kB / 0.8877 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.02188, allocations: 31.94 kB / 0.8877 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.02194, allocations: 39.83 kB / 0.8878 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.02201, allocations: 59.81 kB / 0.8878 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.02232, allocations: 187.3 kB / 0.888 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.02232, allocations: 0 / 0.888 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02232, allocations: 0 / 0.888 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.02233, allocations: 0 / 0.888 GB, free: 14.46 MB / 0.8542 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.0006694/0.023, allocations: 0.5849 MB / 0.8886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.02303, allocations: 12.03 kB / 0.8886 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.02311, allocations: 28.83 kB / 0.8886 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.0233, allocations: 177.2 kB / 0.8888 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.02332, allocations: 12.38 kB / 0.8888 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.02334, allocations: 15.94 kB / 0.8888 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.02349, allocations: 108.9 kB / 0.8889 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.0235, allocations: 0 / 0.8889 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.02351, allocations: 4 kB / 0.8889 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.02352, allocations: 8 kB / 0.8889 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.02358, allocations: 31.97 kB / 0.889 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.02414, allocations: 0.5451 MB / 0.8895 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.02428, allocations: 94.22 kB / 0.8896 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.02432, allocations: 39.42 kB / 0.8896 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.02433, allocations: 0 / 0.8896 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.02447, allocations: 124.3 kB / 0.8897 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.133e-06/0.02447, allocations: 0 / 0.8897 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002476/0.02471, allocations: 147.8 kB / 0.8899 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.02476, allocations: 85.11 kB / 0.89 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.0249, allocations: 247.1 kB / 0.8902 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.02493, allocations: 33.69 kB / 0.8902 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.02501, allocations: 175.3 kB / 0.8904 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.02503, allocations: 27.75 kB / 0.8904 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.0251, allocations: 71.45 kB / 0.8905 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02521, allocations: 0.5001 MB / 0.891 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.02524, allocations: 15.98 kB / 0.891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.02542, allocations: 264 kB / 0.8912 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.02553, allocations: 117.7 kB / 0.8913 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02553, allocations: 0 / 0.8913 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001693/0.0257, allocations: 149.3 kB / 0.8915 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.02571, allocations: 8 kB / 0.8915 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.02572, allocations: 3.938 kB / 0.8915 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.02573, allocations: 4 kB / 0.8915 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.0258, allocations: 23.98 kB / 0.8915 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02581, allocations: 4 kB / 0.8915 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.02591, allocations: 27.88 kB / 0.8916 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.02592, allocations: 4 kB / 0.8916 GB, free: 10.44 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 9.392e-05/0.02601, allocations: 190.7 kB / 0.8917 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.02603, allocations: 23.84 kB / 0.8918 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.02607, allocations: 21.41 kB / 0.8918 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.02607, allocations: 3.984 kB / 0.8918 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02607, allocations: 0 / 0.8918 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02608, allocations: 8.078 kB / 0.8918 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.02642, allocations: 435.8 kB / 0.8922 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02643, allocations: 0 / 0.8922 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.02644, allocations: 7.938 kB / 0.8922 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02644, allocations: 4 kB / 0.8922 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.02645, allocations: 11.98 kB / 0.8922 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02646, allocations: 0 / 0.8922 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02646, allocations: 0 / 0.8922 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.02662, allocations: 278.6 kB / 0.8925 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.02664, allocations: 23.83 kB / 0.8925 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.02666, allocations: 0 / 0.8925 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.02672, allocations: 15.98 kB / 0.8925 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.02677, allocations: 19.91 kB / 0.8926 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.02679, allocations: 8 kB / 0.8926 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.02687, allocations: 175.1 kB / 0.8927 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02687, allocations: 0 / 0.8927 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002054/0.02707, allocations: 39.98 kB / 0.8928 GB, free: 9.133 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.0003123/0.02738, allocations: 181.8 kB / 0.8929 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.02755, allocations: 83.53 kB / 0.893 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02756, allocations: 0 / 0.893 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.02761, allocations: 47.59 kB / 0.8931 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.02789, allocations: 75.31 kB / 0.8931 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.02828, allocations: 290.6 kB / 0.8934 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.165e-05/0.02832, allocations: 71.98 kB / 0.8935 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.02837, allocations: 25.62 kB / 0.8935 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.02842, allocations: 20.5 kB / 0.8935 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.02842, allocations: 3.938 kB / 0.8935 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of Templates: time 0.005878/0.0343, allocations: 4.186 MB / 0.8976 GB, free: 4.18 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","",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.332804338075221]