Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.398/1.398, 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.61/2.61, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6567, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003051/0.6598, allocations: 1.903 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.6612, allocations: 0.9281 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.6613, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.6615, allocations: 19.86 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.6618, allocations: 107.6 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.6621, allocations: 142.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.6624, allocations: 243.3 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.6625, allocations: 37.67 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.6627, allocations: 111.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02666/0.6893, allocations: 2.008 MB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.213e-05/0.6894, allocations: 16 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.6896, allocations: 39.92 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.6897, allocations: 35.89 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.6898, allocations: 95.52 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.6901, allocations: 211.3 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6902, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6902, allocations: 4 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.6902, allocations: 0 / 1.023 GB, free: 13.36 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008538/0.691, allocations: 0.5527 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.6911, allocations: 12.02 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.6912, allocations: 20.75 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.6915, allocations: 243.5 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.6915, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.6915, allocations: 19.98 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.6917, allocations: 93.59 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6918, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.6918, allocations: 7.922 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6918, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.6919, allocations: 51.97 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.6927, allocations: 468.3 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.6931, allocations: 142.6 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.6932, allocations: 36.84 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.6933, allocations: 3.984 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.6935, allocations: 115.1 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.6935, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003444/0.6938, allocations: 165.1 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.6939, allocations: 63.39 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.6941, allocations: 194.5 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.6941, allocations: 37.7 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.6942, allocations: 124.4 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.6943, allocations: 31.61 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.6944, allocations: 61.61 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6945, allocations: 326.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.6946, allocations: 35.98 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.6948, allocations: 131.5 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.695, allocations: 103.5 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.695, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002617/0.6953, allocations: 157.3 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6953, allocations: 4 kB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.6953, allocations: 4 kB / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6953, allocations: 0 / 1.026 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.6954, allocations: 23.92 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6954, allocations: 4 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.6956, allocations: 23.83 kB / 1.026 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6956, allocations: 8.125 kB / 1.026 GB, free: 9.855 MB / 0.7794 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.0001515/0.6958, allocations: 144 kB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.6958, allocations: 15.81 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.6959, allocations: 17.88 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6959, allocations: 7.938 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.6959, allocations: 3.984 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6959, allocations: 3.938 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.6966, allocations: 498.1 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6966, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.6967, allocations: 7.984 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6967, allocations: 4.031 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.6967, allocations: 7.938 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6967, allocations: 7.938 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6967, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.697, allocations: 231.2 kB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.697, allocations: 92.86 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.6971, allocations: 4 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6972, allocations: 23.86 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.6973, allocations: 19.97 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.6973, allocations: 8 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001085/0.6974, allocations: 139.2 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6974, allocations: 0 / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003056/0.6977, allocations: 51.98 kB / 1.027 GB, free: 8.5 MB / 0.7794 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.0003116/0.6981, allocations: 161.4 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.6983, allocations: 103.8 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6983, allocations: 0 / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.6984, allocations: 55.92 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.6988, allocations: 69.61 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.6993, allocations: 327.5 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.6996, allocations: 0.724 MB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.754e-05/0.6997, allocations: 25.53 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.6997, allocations: 35.36 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6998, allocations: 0 / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of Templates: time 0.007439/0.7072, allocations: 3.592 MB / 1.032 GB, free: 3.426 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches