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.001792/0.001792, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002613/0.002613, allocations: 212.1 kB / 22.24 MB, free: 4.855 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.522/1.522, allocations: 230.6 MB / 256 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.874/2.874, allocations: 475.9 MB / 0.7699 GB, free: 4.766 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.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.0021/0.0021, allocations: 68.77 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3105, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003645/0.3142, allocations: 1.732 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.316, allocations: 0.8891 MB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3161, allocations: 4 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3163, allocations: 35.72 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.3167, allocations: 123.4 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.3171, allocations: 147.7 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.3174, allocations: 247.3 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3175, allocations: 21.8 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3177, allocations: 111.7 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01397/0.3316, allocations: 1.71 MB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.3317, allocations: 20 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3319, allocations: 39.97 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.332, allocations: 43.78 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3321, allocations: 71.69 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.3325, allocations: 223.1 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3325, allocations: 4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3325, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3325, allocations: 0 / 1.288 GB, free: 7.004 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.0008739/0.3334, allocations: 492.7 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3335, allocations: 12.03 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/0.3335, allocations: 16.84 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.3339, allocations: 197.5 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3339, allocations: 12 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.3339, allocations: 8 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3341, allocations: 95.33 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3342, allocations: 4 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3342, allocations: 4 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3342, allocations: 4 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3343, allocations: 55.84 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/0.3351, allocations: 376.2 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.3356, allocations: 130.7 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.3356, allocations: 32.84 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3357, allocations: 4 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3359, allocations: 107.3 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3359, allocations: 0 / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003779/0.3363, allocations: 168.7 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3363, allocations: 63.38 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3365, allocations: 197 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.3366, allocations: 33.7 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3367, allocations: 124.5 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.3367, allocations: 35.7 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.3368, allocations: 57.67 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.337, allocations: 326.8 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.53e-05/0.3371, allocations: 35.98 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.3374, allocations: 238.3 kB / 1.291 GB, free: 4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3376, allocations: 108.1 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3376, allocations: 0 / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002695/0.3378, allocations: 147.7 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3379, allocations: 8 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.3379, allocations: 0 / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3379, allocations: 11.88 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.338, allocations: 11.98 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.338, allocations: 7.984 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3382, allocations: 32 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3382, allocations: 4 kB / 1.291 GB, free: 3.656 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.0001559/0.3384, allocations: 151.4 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.3384, allocations: 19.86 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.3385, allocations: 17.81 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3385, allocations: 0 / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3385, allocations: 0 / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3385, allocations: 4.031 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.3392, allocations: 425.9 kB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3392, allocations: 0 / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.3392, allocations: 7.938 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3392, allocations: 3.984 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3392, allocations: 8 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3392, allocations: 0 / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3392, allocations: 3.938 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3395, allocations: 227.4 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.3395, allocations: 15.86 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3396, allocations: 8 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3397, allocations: 15.98 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.3398, allocations: 27.89 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3398, allocations: 8 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001396/0.3399, allocations: 148 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003143/0.3403, allocations: 47.94 kB / 1.292 GB, free: 2.477 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.0003966/0.3407, allocations: 164.9 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3409, allocations: 96.81 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3409, allocations: 256 / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.341, allocations: 59.91 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3414, allocations: 50.41 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006991/0.3421, allocations: 322.9 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.3423, allocations: 116.1 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.713e-05/0.3423, allocations: 21.62 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.3424, allocations: 23.42 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3424, allocations: 0 / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of Templates: time 0.009054/0.3515, allocations: 4.102 MB / 1.297 GB, free: 13.59 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.02612704783678]