Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001654/0.001654, 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.001934/0.001934, allocations: 189.5 kB / 16.25 MB, free: 6.598 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7554, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003415/0.7589, allocations: 1.901 MB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.7603, allocations: 0.9287 MB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.7604, allocations: 1.281 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.7606, allocations: 31.67 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.761, allocations: 94.17 kB / 0.952 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.7613, allocations: 145.8 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.7616, allocations: 235.4 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.7617, allocations: 41.14 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.7619, allocations: 116.3 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02661/0.7885, allocations: 1.998 MB / 0.9544 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.7886, allocations: 18.56 kB / 0.9545 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.7889, allocations: 39.47 kB / 0.9545 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.789, allocations: 43.38 kB / 0.9545 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.7892, allocations: 87.7 kB / 0.9546 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.7897, allocations: 218.2 kB / 0.9548 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7897, allocations: 0 / 0.9548 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7897, allocations: 0 / 0.9548 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7897, allocations: 4 kB / 0.9548 GB, free: 5.602 MB / 0.7169 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.0009892/0.7907, allocations: 0.5495 MB / 0.9554 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.7908, allocations: 9.125 kB / 0.9554 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.7909, allocations: 20.56 kB / 0.9554 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.7913, allocations: 246.7 kB / 0.9556 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7913, allocations: 9.906 kB / 0.9556 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.7914, allocations: 18.81 kB / 0.9557 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.7916, allocations: 97.33 kB / 0.9557 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.7916, allocations: 4 kB / 0.9558 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.7917, allocations: 5.688 kB / 0.9558 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7917, allocations: 5.891 kB / 0.9558 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.7918, allocations: 52.88 kB / 0.9558 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009972/0.7928, allocations: 465.2 kB / 0.9563 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.7934, allocations: 136.7 kB / 0.9564 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.7935, allocations: 35.25 kB / 0.9564 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.7935, allocations: 0.8125 kB / 0.9564 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.7938, allocations: 118.7 kB / 0.9565 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.245e-06/0.7938, allocations: 3.938 kB / 0.9565 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0005132/0.7943, allocations: 160 kB / 0.9567 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.7943, allocations: 61.62 kB / 0.9567 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.7946, allocations: 199.4 kB / 0.9569 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.7947, allocations: 33.23 kB / 0.957 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.7948, allocations: 121.2 kB / 0.9571 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.7948, allocations: 37.28 kB / 0.9571 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.795, allocations: 60.52 kB / 0.9572 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7952, allocations: 328 kB / 0.9575 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.7952, allocations: 33.92 kB / 0.9575 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.7955, allocations: 130.3 kB / 0.9576 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.7957, allocations: 101.1 kB / 0.9577 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7957, allocations: 1.062 kB / 0.9577 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003393/0.796, allocations: 152.3 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.7961, allocations: 8.75 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7961, allocations: 1.031 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.7961, allocations: 2.062 kB / 0.9579 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.7962, allocations: 24.14 kB / 0.9579 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7962, allocations: 1.094 kB / 0.9579 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.7965, allocations: 28.02 kB / 0.958 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.7965, allocations: 9.375 kB / 0.958 GB, free: 2.879 MB / 0.7169 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.0001529/0.7966, allocations: 140.5 kB / 0.9581 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.7967, allocations: 15.75 kB / 0.9581 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.7968, allocations: 18.22 kB / 0.9581 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7968, allocations: 2.188 kB / 0.9581 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7968, allocations: 0 / 0.9581 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7968, allocations: 7.922 kB / 0.9581 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.7975, allocations: 497.8 kB / 0.9586 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7975, allocations: 0 / 0.9586 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.7976, allocations: 4.125 kB / 0.9586 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7976, allocations: 0 / 0.9586 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7976, allocations: 13.3 kB / 0.9586 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.7976, allocations: 5.312 kB / 0.9586 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7976, allocations: 11.94 kB / 0.9586 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.7979, allocations: 226.8 kB / 0.9589 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.7979, allocations: 97.31 kB / 0.959 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.798, allocations: 5.406 kB / 0.959 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7981, allocations: 18.39 kB / 0.959 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.7982, allocations: 20.94 kB / 0.959 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.7982, allocations: 9.875 kB / 0.959 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000143/0.7984, allocations: 145.5 kB / 0.9591 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7984, allocations: 0 / 0.9591 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003826/0.7988, allocations: 52.41 kB / 0.9592 GB, free: 1.824 MB / 0.7169 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.0004239/0.7992, allocations: 157.1 kB / 0.9593 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.7995, allocations: 112.4 kB / 0.9595 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7995, allocations: 0 / 0.9595 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.7997, allocations: 53.05 kB / 0.9595 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.8001, allocations: 68.86 kB / 0.9596 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.8008, allocations: 325.2 kB / 0.9599 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.8011, allocations: 0.7215 MB / 0.9606 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.8012, allocations: 26.7 kB / 0.9606 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.8013, allocations: 25.09 kB / 0.9606 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.8013, allocations: 0 / 0.9606 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of Templates: time 0.009524/0.8108, allocations: 3.589 MB / 0.9641 GB, free: 14.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches