Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001563/0.001563, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002133/0.002133, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 69.44 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 169.9 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003425/0.3582, allocations: 1.788 MB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.36, allocations: 0.9514 MB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.3601, allocations: 0 / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3603, allocations: 27.73 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.3607, allocations: 119.4 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3611, allocations: 167.6 kB / 1.288 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.3614, allocations: 255.3 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3615, allocations: 25.73 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3617, allocations: 103.7 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01614/0.3778, allocations: 2.039 MB / 1.29 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.116e-05/0.3779, allocations: 20 kB / 1.29 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3781, allocations: 35.98 kB / 1.29 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.3781, allocations: 43.83 kB / 1.29 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3783, allocations: 83.58 kB / 1.29 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.3787, allocations: 223.1 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3787, allocations: 4 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3787, allocations: 0 / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3787, allocations: 4 kB / 1.29 GB, free: 5.941 MB / 0.9825 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.000862/0.3796, allocations: 492.7 kB / 1.291 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3796, allocations: 8.031 kB / 1.291 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.3797, allocations: 28.78 kB / 1.291 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.38, allocations: 189.7 kB / 1.291 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.38, allocations: 12 kB / 1.291 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.38, allocations: 16 kB / 1.291 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3802, allocations: 85.66 kB / 1.291 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3802, allocations: 0 / 1.291 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3802, allocations: 7.984 kB / 1.291 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3802, allocations: 4 kB / 1.291 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3804, allocations: 55.91 kB / 1.291 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.3812, allocations: 431.5 kB / 1.292 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.3816, allocations: 126.7 kB / 1.292 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.3817, allocations: 36.84 kB / 1.292 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3817, allocations: 0 / 1.292 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.3819, allocations: 114.4 kB / 1.292 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.3819, allocations: 3.938 kB / 1.292 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003808/0.3823, allocations: 169.6 kB / 1.292 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.3823, allocations: 67.39 kB / 1.292 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.3826, allocations: 193.3 kB / 1.292 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3826, allocations: 37.7 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3827, allocations: 128.4 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3827, allocations: 23.81 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.3828, allocations: 61.67 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.383, allocations: 326.8 kB / 1.293 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.383, allocations: 31.98 kB / 1.293 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.3833, allocations: 135.5 kB / 1.293 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3834, allocations: 102.6 kB / 1.293 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3834, allocations: 0 / 1.293 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002557/0.3837, allocations: 153.5 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3837, allocations: 6.5 kB / 1.293 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3837, allocations: 4 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3837, allocations: 0 / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.3838, allocations: 23.92 kB / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3838, allocations: 11.92 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.384, allocations: 19.92 kB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.384, allocations: 8 kB / 1.293 GB, free: 2.652 MB / 0.9825 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.0001435/0.3842, allocations: 143.6 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.3842, allocations: 19.86 kB / 1.293 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3843, allocations: 21.81 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3843, allocations: 7.984 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3843, allocations: 0 / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3843, allocations: 0 / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.385, allocations: 469.2 kB / 1.294 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.385, allocations: 0 / 1.294 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.385, allocations: 4 kB / 1.294 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3851, allocations: 7.938 kB / 1.294 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3851, allocations: 7.984 kB / 1.294 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3851, allocations: 3.938 kB / 1.294 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3851, allocations: 3.938 kB / 1.294 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3853, allocations: 225.9 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.3854, allocations: 27.83 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3854, allocations: 4 kB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3855, allocations: 15.92 kB / 1.294 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.3856, allocations: 19.97 kB / 1.294 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.3856, allocations: 7.984 kB / 1.294 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001437/0.3858, allocations: 147 kB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3858, allocations: 0 / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003116/0.3861, allocations: 44 kB / 1.294 GB, free: 1.422 MB / 0.9825 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.0004325/0.3865, allocations: 180.7 kB / 1.295 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3867, allocations: 91.84 kB / 1.295 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3867, allocations: 4 kB / 1.295 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.3868, allocations: 51.44 kB / 1.295 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3873, allocations: 53.02 kB / 1.295 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.3879, allocations: 321 kB / 1.295 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3882, allocations: 0.7203 MB / 1.296 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3883, allocations: 27.44 kB / 1.296 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3883, allocations: 0 / 1.296 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.005868/0.3942, allocations: 3.221 MB / 1.299 GB, free: 12.75 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 12.100057784002274]