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.001808/0.001808, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001946/0.001946, allocations: 190.3 kB / 16.14 MB, free: 6.188 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.731/2.731, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.91 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6204/0.6223, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003666/0.626, allocations: 1.893 MB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.6278, allocations: 0.9398 MB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.6279, allocations: 7.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.6282, allocations: 23.86 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.6285, allocations: 95.64 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.6289, allocations: 136.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.6292, allocations: 235.3 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.6293, allocations: 37.67 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.6295, allocations: 103.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03347/0.6629, allocations: 1.819 MB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.6631, allocations: 8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.6633, allocations: 35.98 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.6634, allocations: 35.83 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.6636, allocations: 87.5 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.664, allocations: 207.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.664, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.664, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.664, allocations: 0 / 1.022 GB, free: 13.57 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.001085/0.6651, allocations: 0.5528 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6651, allocations: 8.031 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.6652, allocations: 20.75 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.6657, allocations: 247.4 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6657, allocations: 12 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.6658, allocations: 12 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.6661, allocations: 113.1 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6661, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.6661, allocations: 7.984 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.6661, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.6663, allocations: 58.88 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.6674, allocations: 0.5395 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.6676, allocations: 101.3 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.6677, allocations: 45.7 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.6677, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.668, allocations: 120.2 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.668, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004231/0.6684, allocations: 174.7 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.6685, allocations: 85.09 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.6688, allocations: 195.6 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.6689, allocations: 33.7 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.669, allocations: 136.3 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.669, allocations: 23.66 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.6692, allocations: 61.67 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6693, allocations: 330.9 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.6694, allocations: 31.98 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.6697, allocations: 138.6 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.6699, allocations: 123 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6699, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002908/0.6702, allocations: 169.1 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6702, allocations: 8.156 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.6702, allocations: 4 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6702, allocations: 0 / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.6703, allocations: 15.94 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6704, allocations: 7.984 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.6706, allocations: 27.83 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6706, allocations: 8 kB / 1.025 GB, free: 9.883 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.0001577/0.6708, allocations: 139.5 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.6708, allocations: 19.81 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.6709, allocations: 21.52 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6709, allocations: 4 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6709, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6709, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.6716, allocations: 466.2 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6716, allocations: 0 / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.6716, allocations: 8 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6716, allocations: 0 / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.6716, allocations: 11.98 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6716, allocations: 3.938 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6717, allocations: 0 / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.6719, allocations: 228.1 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.672, allocations: 92.91 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.6721, allocations: 8 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.6722, allocations: 15.92 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.6723, allocations: 19.97 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.6723, allocations: 8 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001509/0.6725, allocations: 143.3 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6725, allocations: 0 / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003555/0.6729, allocations: 55.83 kB / 1.027 GB, free: 8.566 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.0004851/0.6734, allocations: 182.5 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.6736, allocations: 103.8 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6736, allocations: 0 / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.6738, allocations: 51.92 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.6742, allocations: 49.56 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.6749, allocations: 330.5 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.6753, allocations: 0.7284 MB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.094e-05/0.6753, allocations: 21.53 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.6754, allocations: 19.44 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6754, allocations: 4 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of Templates: time 0.008738/0.6842, allocations: 3.435 MB / 1.031 GB, free: 3.656 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