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.001334/0.001334, allocations: 110.2 kB / 19.69 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.001533/0.001533, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.865/2.865, allocations: 476.8 MB / 0.7714 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 176] 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.002034/0.002034, allocations: 65.39 kB / 1.119 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3023, allocations: 170 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003342/0.3057, allocations: 1.78 MB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3074, allocations: 0.9475 MB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.3075, allocations: 7.938 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.3077, allocations: 31.73 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.308, allocations: 119.4 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.3084, allocations: 151.7 kB / 1.288 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.3088, allocations: 247.3 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3089, allocations: 29.67 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.3091, allocations: 119.7 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.3231, allocations: 1.712 MB / 1.29 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.3232, allocations: 16 kB / 1.29 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3233, allocations: 32 kB / 1.29 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.3234, allocations: 39.84 kB / 1.29 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3235, allocations: 95.5 kB / 1.29 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.324, allocations: 215.2 kB / 1.29 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.324, allocations: 0 / 1.29 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.324, allocations: 0 / 1.29 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.324, allocations: 0 / 1.29 GB, free: 6.211 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.0009559/0.325, allocations: 0.4889 MB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.325, allocations: 12.03 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.3251, allocations: 24.78 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.3254, allocations: 189.8 kB / 1.291 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3254, allocations: 12 kB / 1.291 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3255, allocations: 12 kB / 1.291 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3257, allocations: 93.66 kB / 1.291 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3257, allocations: 3.938 kB / 1.291 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3257, allocations: 3.984 kB / 1.291 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3257, allocations: 4 kB / 1.291 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3258, allocations: 51.97 kB / 1.291 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.3267, allocations: 435.4 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.3271, allocations: 122.7 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.3272, allocations: 36.78 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3272, allocations: 7.938 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.3275, allocations: 115.2 kB / 1.292 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3275, allocations: 0 / 1.292 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003576/0.3278, allocations: 165.6 kB / 1.292 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.3279, allocations: 59.41 kB / 1.292 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3281, allocations: 193 kB / 1.292 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.3281, allocations: 37.69 kB / 1.292 GB, free: 4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.3282, allocations: 124.5 kB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3283, allocations: 39.73 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3284, allocations: 53.67 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3286, allocations: 330.8 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.3286, allocations: 35.98 kB / 1.293 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.3289, allocations: 127.6 kB / 1.293 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.329, allocations: 102.5 kB / 1.293 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.329, allocations: 0 / 1.293 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002756/0.3293, allocations: 157.4 kB / 1.293 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3293, allocations: 10.81 kB / 1.293 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3293, allocations: 0 / 1.293 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3294, allocations: 8.031 kB / 1.293 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.3294, allocations: 23.98 kB / 1.293 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3294, allocations: 3.938 kB / 1.293 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3297, allocations: 23.92 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3297, allocations: 4 kB / 1.293 GB, free: 2.91 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.0001581/0.3298, allocations: 147.6 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.3299, allocations: 19.86 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.3299, allocations: 21.8 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3299, allocations: 0 / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3299, allocations: 0 / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3299, allocations: 0 / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.3306, allocations: 472.2 kB / 1.294 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3306, allocations: 0 / 1.294 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.3307, allocations: 7.938 kB / 1.294 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3307, allocations: 3.938 kB / 1.294 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3307, allocations: 7.984 kB / 1.294 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3307, allocations: 7.938 kB / 1.294 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3307, allocations: 0 / 1.294 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3309, allocations: 223.4 kB / 1.294 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.331, allocations: 19.83 kB / 1.294 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.331, allocations: 8 kB / 1.294 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3311, allocations: 15.92 kB / 1.294 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.3312, allocations: 19.97 kB / 1.294 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3312, allocations: 11.98 kB / 1.294 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001369/0.3314, allocations: 151.9 kB / 1.294 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 0 / 1.294 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003204/0.3317, allocations: 44 kB / 1.294 GB, free: 1.68 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.0003834/0.3321, allocations: 167.5 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3323, allocations: 99.84 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3323, allocations: 0 / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.473e-05/0.3324, allocations: 47.91 kB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3328, allocations: 58.44 kB / 1.294 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.3335, allocations: 341 kB / 1.295 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3339, allocations: 0.7242 MB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.3339, allocations: 27.44 kB / 1.295 GB, free: 200 kB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3339, allocations: 0 / 1.295 GB, free: 200 kB / 0.9825 GB Notification: Performance of Templates: time 0.005871/0.3398, allocations: 3.228 MB / 1.299 GB, free: 12.98 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/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: 11.994752405997133]