Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 159.8 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.823/2.823, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.971e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003216/0.003246, allocations: 1.727 MB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.00518, allocations: 0.9043 MB / 0.984 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.009e-05/0.00527, allocations: 4 kB / 0.984 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.005469, allocations: 31.67 kB / 0.984 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.005891, allocations: 123.3 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.006331, allocations: 154.6 kB / 0.9843 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.006699, allocations: 255.3 kB / 0.9845 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.006834, allocations: 25.78 kB / 0.9845 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.007058, allocations: 143.7 kB / 0.9847 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01445/0.02151, allocations: 1.701 MB / 0.9863 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.02162, allocations: 16 kB / 0.9863 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.02177, allocations: 35.94 kB / 0.9864 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.57e-05/0.02186, allocations: 39.83 kB / 0.9864 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.02201, allocations: 67.81 kB / 0.9865 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.02251, allocations: 243.2 kB / 0.9867 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.02251, allocations: 0 / 0.9867 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.163e-06/0.02251, allocations: 0 / 0.9867 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.02252, allocations: 0 / 0.9867 GB, free: 6.984 MB / 0.9356 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.00101/0.02353, allocations: 492.6 kB / 0.9872 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.02357, allocations: 8.031 kB / 0.9872 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.02366, allocations: 24.78 kB / 0.9872 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.024, allocations: 189.4 kB / 0.9874 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.02402, allocations: 12.38 kB / 0.9874 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.02406, allocations: 15.94 kB / 0.9874 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.02431, allocations: 87.89 kB / 0.9875 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.02432, allocations: 4 kB / 0.9875 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.02433, allocations: 4 kB / 0.9875 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.868e-05/0.02435, allocations: 4 kB / 0.9875 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.02449, allocations: 55.92 kB / 0.9876 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.02537, allocations: 364.2 kB / 0.9879 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.02587, allocations: 130.7 kB / 0.988 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.02594, allocations: 36.84 kB / 0.9881 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.02596, allocations: 0 / 0.9881 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.02627, allocations: 107.5 kB / 0.9882 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.02627, allocations: 4 kB / 0.9882 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003827/0.02665, allocations: 165.4 kB / 0.9883 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.02672, allocations: 67.27 kB / 0.9884 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.02695, allocations: 196.7 kB / 0.9886 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.027, allocations: 37.7 kB / 0.9886 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.02712, allocations: 120.6 kB / 0.9887 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.02717, allocations: 35.75 kB / 0.9888 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02728, allocations: 57.66 kB / 0.9888 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.02745, allocations: 330.8 kB / 0.9891 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.02753, allocations: 31.98 kB / 0.9892 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.02789, allocations: 242.4 kB / 0.9894 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.02806, allocations: 108.2 kB / 0.9895 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02806, allocations: 0 / 0.9895 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003016/0.02836, allocations: 157.3 kB / 0.9897 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.02838, allocations: 4 kB / 0.9897 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.02839, allocations: 4 kB / 0.9897 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.0284, allocations: 0 / 0.9897 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.02848, allocations: 19.92 kB / 0.9897 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.02849, allocations: 7.984 kB / 0.9897 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.02874, allocations: 32 kB / 0.9897 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.02875, allocations: 4 kB / 0.9897 GB, free: 3.637 MB / 0.9356 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.0001626/0.02891, allocations: 139.8 kB / 0.9899 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.02895, allocations: 23.88 kB / 0.9899 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.029, allocations: 17.81 kB / 0.9899 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.02901, allocations: 4 kB / 0.9899 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02901, allocations: 0 / 0.9899 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.02902, allocations: 3.984 kB / 0.9899 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007252/0.02974, allocations: 429.4 kB / 0.9903 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02974, allocations: 0 / 0.9903 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.02977, allocations: 4 kB / 0.9903 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.02977, allocations: 0 / 0.9903 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.02979, allocations: 7.984 kB / 0.9903 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.02979, allocations: 0 / 0.9903 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02979, allocations: 7.938 kB / 0.9903 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.03007, allocations: 231.3 kB / 0.9906 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.0301, allocations: 11.91 kB / 0.9906 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.03013, allocations: 0 / 0.9906 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.03027, allocations: 19.98 kB / 0.9906 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.03034, allocations: 19.97 kB / 0.9906 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.03037, allocations: 11.98 kB / 0.9906 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001715/0.03055, allocations: 143 kB / 0.9908 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03055, allocations: 0 / 0.9908 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003481/0.03089, allocations: 47.89 kB / 0.9908 GB, free: 2.477 MB / 0.9356 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.0004636/0.03136, allocations: 173.8 kB / 0.991 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.03161, allocations: 103.5 kB / 0.9911 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.03161, allocations: 256 / 0.9911 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.03172, allocations: 55.91 kB / 0.9911 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.03217, allocations: 49.28 kB / 0.9912 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.03291, allocations: 306.5 kB / 0.9915 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.03305, allocations: 120.1 kB / 0.9916 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.991e-05/0.03314, allocations: 29.56 kB / 0.9916 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.03321, allocations: 24.48 kB / 0.9916 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.03321, allocations: 0 / 0.9916 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of Templates: time 0.009666/0.04287, allocations: 3.982 MB / 0.9955 GB, free: 13.69 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.176622290164232]