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.001938/0.001939, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002344/0.002344, allocations: 198.3 kB / 16.14 MB, free: 6.797 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.769/2.769, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003063/0.003063, allocations: 67.91 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.6229, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003731/0.6267, allocations: 1.897 MB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.6287, allocations: 0.9437 MB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.6289, allocations: 3.938 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.6291, allocations: 19.86 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.6295, allocations: 91.58 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.63, allocations: 143.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.6303, allocations: 231.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.6305, allocations: 29.69 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.6306, allocations: 107.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03451/0.6652, allocations: 1.854 MB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.595e-05/0.6653, allocations: 8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.6654, allocations: 39.97 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.6655, allocations: 31.91 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.6657, allocations: 91.44 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.666, allocations: 199.3 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.666, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.41e-07/0.666, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.666, allocations: 0 / 1.022 GB, free: 13.6 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.0009798/0.667, allocations: 0.5489 MB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6671, allocations: 12.03 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.6672, allocations: 20.75 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.6675, allocations: 243.4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.6675, allocations: 11.94 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.6676, allocations: 16 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.6678, allocations: 91.36 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6678, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.6678, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6678, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.668, allocations: 59.91 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.6688, allocations: 464.4 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.6693, allocations: 146.6 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.214e-05/0.6693, allocations: 36.84 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6694, allocations: 4 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.6696, allocations: 111.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.6696, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003755/0.67, allocations: 168.2 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.67, allocations: 55.41 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.6703, allocations: 195.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.6703, allocations: 33.7 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.6704, allocations: 128.4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.6705, allocations: 35.61 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.6706, allocations: 57.67 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6707, allocations: 326.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.6708, allocations: 31.98 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.6711, allocations: 135.5 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.6713, allocations: 102.9 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6713, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002682/0.6715, allocations: 153.4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6716, allocations: 8.031 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.6716, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.6716, allocations: 7.938 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.6717, allocations: 16.03 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.6717, allocations: 0 / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.6719, allocations: 31.81 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.672, allocations: 8 kB / 1.025 GB, free: 10.11 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.0001494/0.6721, allocations: 143.5 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.6721, allocations: 19.81 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.6722, allocations: 17.88 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6722, allocations: 0 / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6722, allocations: 0 / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6722, allocations: 7.984 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007066/0.6729, allocations: 498 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.673, allocations: 4 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.673, allocations: 11.94 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.673, allocations: 0 / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.673, allocations: 7.984 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.673, allocations: 3.938 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.673, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.6733, allocations: 223.2 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.6734, allocations: 96.84 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.6734, allocations: 12 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6736, allocations: 11.92 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.6736, allocations: 19.97 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.6737, allocations: 16 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000135/0.6738, allocations: 139.3 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6738, allocations: 0 / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003094/0.6741, allocations: 47.98 kB / 1.027 GB, free: 8.766 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.0004029/0.6745, allocations: 174.8 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.6748, allocations: 103.8 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6748, allocations: 0 / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.6749, allocations: 55.92 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.6753, allocations: 57.39 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.676, allocations: 331.9 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6763, allocations: 0.7282 MB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9e-05/0.6764, allocations: 25.53 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.6765, allocations: 23.42 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6765, allocations: 0 / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.008348/0.6848, allocations: 3.478 MB / 1.031 GB, free: 3.801 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=400 -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