Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437 MB / 0.7101 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6861, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003484/0.6896, allocations: 1.893 MB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.6913, allocations: 0.9322 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.6915, allocations: 3.938 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.6917, allocations: 19.86 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.6921, allocations: 99.64 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.6925, allocations: 139.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.6928, allocations: 251.2 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.6929, allocations: 29.67 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.6931, allocations: 119.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03306/0.7262, allocations: 1.973 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.551e-05/0.7263, allocations: 19.98 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.7264, allocations: 39.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.7265, allocations: 35.84 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.7267, allocations: 95.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.727, allocations: 219.3 kB / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7271, allocations: 4 kB / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7271, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.7271, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.7794 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.0009376/0.728, allocations: 0.5566 MB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.7281, allocations: 11.97 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.7282, allocations: 20.75 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.7285, allocations: 243.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.7285, allocations: 7.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.7286, allocations: 16 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.7288, allocations: 112.7 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7288, allocations: 3.938 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.7288, allocations: 8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.7289, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.729, allocations: 47.97 kB / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.7299, allocations: 0.5434 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.7301, allocations: 101.2 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.7302, allocations: 41.77 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7302, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.7305, allocations: 120.4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.7305, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003586/0.7308, allocations: 161.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.7309, allocations: 81.11 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.7312, allocations: 207.7 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.7312, allocations: 37.64 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.7313, allocations: 124.4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.7314, allocations: 35.64 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.7315, allocations: 49.69 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7316, allocations: 330.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.7317, allocations: 35.98 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.732, allocations: 144.3 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.7322, allocations: 113.9 kB / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7322, allocations: 3.938 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000278/0.7325, allocations: 166.8 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.7325, allocations: 4 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7325, allocations: 4 kB / 1.026 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.7325, allocations: 4 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.7326, allocations: 20.08 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.7326, allocations: 8 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.7329, allocations: 27.83 kB / 1.026 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.7329, allocations: 4 kB / 1.026 GB, free: 9.727 MB / 0.7794 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.0001447/0.733, allocations: 148 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.7331, allocations: 15.81 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.7331, allocations: 17.53 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7331, allocations: 0 / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.7332, allocations: 8 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7332, allocations: 3.984 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.7338, allocations: 458.2 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.7338, allocations: 4 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.7339, allocations: 3.984 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7339, allocations: 4 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.7339, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.7339, allocations: 7.938 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7339, allocations: 4 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.7342, allocations: 232.1 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.7342, allocations: 92.92 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.7343, allocations: 0 / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7344, allocations: 23.86 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.7345, allocations: 19.97 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.7345, allocations: 12 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001352/0.7347, allocations: 139.3 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7347, allocations: 0 / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003186/0.735, allocations: 51.92 kB / 1.027 GB, free: 8.406 MB / 0.7794 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.0004149/0.7354, allocations: 184.4 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.7357, allocations: 99.91 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7357, allocations: 4.312 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7358, allocations: 53.3 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.7362, allocations: 57.5 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.7369, allocations: 333.4 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.7374, allocations: 0.7242 MB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.7375, allocations: 21.53 kB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.7375, allocations: 23.42 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7375, allocations: 0 / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.00841/0.7459, allocations: 3.538 MB / 1.032 GB, free: 3.387 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches