Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001837/0.001837, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.002239/0.002239, allocations: 161.9 kB / 23.01 MB, free: 4.965 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.68/2.68, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [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.00228/0.00228, allocations: 67.84 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3068, allocations: 169.9 MB / 1.117 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003372/0.3101, allocations: 1.731 MB / 1.119 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3119, allocations: 0.9048 MB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.312, allocations: 0 / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3122, allocations: 27.67 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.3126, allocations: 119.4 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.313, allocations: 153.8 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.3134, allocations: 247.2 kB / 1.121 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3135, allocations: 21.8 kB / 1.121 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3137, allocations: 123.6 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.3275, allocations: 1.698 MB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.3276, allocations: 16 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3277, allocations: 36 kB / 1.122 GB, free: 14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.3278, allocations: 39.84 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3279, allocations: 83.55 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.3283, allocations: 215.2 kB / 1.123 GB, free: 13.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3283, allocations: 4 kB / 1.123 GB, free: 13.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3283, allocations: 0 / 1.123 GB, free: 13.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3283, allocations: 0 / 1.123 GB, free: 13.66 MB / 1.076 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.0008462/0.3292, allocations: 492.7 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3292, allocations: 15.95 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.3293, allocations: 28.73 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3296, allocations: 181.8 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3296, allocations: 12 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.3296, allocations: 16 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3298, allocations: 97.58 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3298, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3298, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3299, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.33, allocations: 55.91 kB / 1.124 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.3307, allocations: 376.2 kB / 1.124 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.3312, allocations: 126.7 kB / 1.124 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.3312, allocations: 32.84 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3313, allocations: 0 / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.3315, allocations: 107.3 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3315, allocations: 0 / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003775/0.3319, allocations: 180.7 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3319, allocations: 55.41 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.3322, allocations: 204.1 kB / 1.125 GB, free: 11.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.3322, allocations: 33.7 kB / 1.125 GB, free: 11.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3323, allocations: 120.5 kB / 1.125 GB, free: 11.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.3323, allocations: 27.8 kB / 1.125 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3324, allocations: 61.67 kB / 1.125 GB, free: 11.31 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3326, allocations: 330.8 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.3327, allocations: 31.98 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.333, allocations: 240.7 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3331, allocations: 113.3 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3331, allocations: 0 / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002767/0.3334, allocations: 161.3 kB / 1.126 GB, free: 10.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3334, allocations: 6.344 kB / 1.126 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3334, allocations: 0 / 1.126 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3335, allocations: 7.984 kB / 1.126 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.3335, allocations: 16.12 kB / 1.126 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3335, allocations: 0 / 1.126 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.3338, allocations: 23.92 kB / 1.126 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3338, allocations: 15.94 kB / 1.126 GB, free: 10.31 MB / 1.076 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.0001412/0.3339, allocations: 135.8 kB / 1.126 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.334, allocations: 19.86 kB / 1.126 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.334, allocations: 25.8 kB / 1.126 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.334, allocations: 4 kB / 1.126 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.334, allocations: 0 / 1.126 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.334, allocations: 4 kB / 1.126 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.3347, allocations: 417.8 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3347, allocations: 4 kB / 1.126 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.3347, allocations: 15.86 kB / 1.126 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.3348, allocations: 4 kB / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3348, allocations: 0 / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3348, allocations: 0 / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3348, allocations: 0 / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.335, allocations: 235.3 kB / 1.127 GB, free: 9.402 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.3351, allocations: 23.84 kB / 1.127 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3351, allocations: 0 / 1.127 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3352, allocations: 19.97 kB / 1.127 GB, free: 9.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.3353, allocations: 23.91 kB / 1.127 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3353, allocations: 4 kB / 1.127 GB, free: 9.332 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001384/0.3355, allocations: 139.2 kB / 1.127 GB, free: 9.195 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3355, allocations: 0 / 1.127 GB, free: 9.195 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003239/0.3358, allocations: 44 kB / 1.127 GB, free: 9.152 MB / 1.076 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.0004144/0.3362, allocations: 182.2 kB / 1.127 GB, free: 8.988 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3365, allocations: 103.8 kB / 1.127 GB, free: 8.887 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3365, allocations: 0 / 1.127 GB, free: 8.887 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.3366, allocations: 43.92 kB / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.337, allocations: 61.58 kB / 1.127 GB, free: 8.789 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.3377, allocations: 317.5 kB / 1.127 GB, free: 8.453 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.3378, allocations: 112.5 kB / 1.128 GB, free: 8.328 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.915e-05/0.3379, allocations: 21.64 kB / 1.128 GB, free: 8.309 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.338, allocations: 28.48 kB / 1.128 GB, free: 8.277 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.338, allocations: 0 / 1.128 GB, free: 8.277 MB / 1.076 GB Notification: Performance of Templates: time 0.008876/0.3468, allocations: 3.994 MB / 1.132 GB, free: 4.359 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.353193253045902]