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.001638/0.001638, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002019/0.002019, allocations: 222.8 kB / 23 MB, free: 4.914 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.771/2.771, allocations: 476 MB / 0.7707 GB, free: 4.699 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.002086/0.002086, allocations: 66.53 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003517/0.3106, allocations: 1.732 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3125, allocations: 0.893 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.3126, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3128, allocations: 39.64 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.3132, allocations: 119.5 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.3136, allocations: 150.1 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.314, allocations: 247.4 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3141, allocations: 33.61 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.3143, allocations: 111.7 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01656/0.3308, allocations: 2.029 MB / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-05/0.3309, allocations: 19.94 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3311, allocations: 35.98 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.3311, allocations: 43.89 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.3313, allocations: 83.56 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.3317, allocations: 219.2 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3317, allocations: 0 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3317, allocations: 0 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.3317, allocations: 0 / 1.289 GB, free: 6.703 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.000908/0.3326, allocations: 492.7 kB / 1.29 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3327, allocations: 8.031 kB / 1.29 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.3328, allocations: 32.73 kB / 1.29 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3331, allocations: 185.8 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3331, allocations: 11.95 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.3331, allocations: 19.98 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3333, allocations: 95.53 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3334, allocations: 0 / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3334, allocations: 0 / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.3334, allocations: 4 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3335, allocations: 55.91 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.3343, allocations: 372.2 kB / 1.291 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.3348, allocations: 130.6 kB / 1.291 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/0.3348, allocations: 32.84 kB / 1.291 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3348, allocations: 0 / 1.291 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3351, allocations: 115.2 kB / 1.291 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3351, allocations: 0 / 1.291 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003791/0.3355, allocations: 176.8 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3355, allocations: 55.41 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3357, allocations: 197.3 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3358, allocations: 33.7 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3359, allocations: 120.5 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3359, allocations: 35.73 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.336, allocations: 61.66 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3362, allocations: 334.8 kB / 1.292 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.3363, allocations: 31.98 kB / 1.292 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3366, allocations: 242.4 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3368, allocations: 104.1 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3368, allocations: 0 / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002518/0.337, allocations: 152.1 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.337, allocations: 8.125 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.337, allocations: 4 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3371, allocations: 0 / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.3371, allocations: 12 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/0.3372, allocations: 7.984 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.3374, allocations: 27.88 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3374, allocations: 8 kB / 1.292 GB, free: 3.352 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.0001354/0.3375, allocations: 135.5 kB / 1.293 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.3375, allocations: 19.86 kB / 1.293 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.3376, allocations: 29.8 kB / 1.293 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3376, allocations: 4 kB / 1.293 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3376, allocations: 3.938 kB / 1.293 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3376, allocations: 0 / 1.293 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.3383, allocations: 417.9 kB / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3383, allocations: 0 / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.3383, allocations: 15.94 kB / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3383, allocations: 48 / 1.293 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3383, allocations: 3.984 kB / 1.293 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3383, allocations: 7.938 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3383, allocations: 0 / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3386, allocations: 235.3 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.3386, allocations: 23.84 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3387, allocations: 0 / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3388, allocations: 15.98 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.3389, allocations: 27.84 kB / 1.293 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.3389, allocations: 7.984 kB / 1.293 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001434/0.339, allocations: 147.1 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.339, allocations: 0 / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003055/0.3394, allocations: 47.98 kB / 1.293 GB, free: 2.168 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.0003993/0.3398, allocations: 160.7 kB / 1.294 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.34, allocations: 95.89 kB / 1.294 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.34, allocations: 3.938 kB / 1.294 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.3401, allocations: 51.86 kB / 1.294 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3405, allocations: 68.47 kB / 1.294 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.3411, allocations: 325 kB / 1.294 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3413, allocations: 108.1 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.3413, allocations: 23.44 kB / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3413, allocations: 0 / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of Templates: time 0.006448/0.3478, allocations: 3.26 MB / 1.297 GB, free: 14.09 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.027210986241698]