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.001871/0.001871, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002005/0.002005, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.598/1.598, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.872/2.872, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.64e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003418/0.003444, allocations: 1.774 MB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.00543, allocations: 0.9164 MB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.005503, allocations: 3.938 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.0057, allocations: 35.66 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.00608, allocations: 124.2 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.006454, allocations: 151.6 kB / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.006811, allocations: 248.8 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.006928, allocations: 21.78 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.007153, allocations: 143.8 kB / 0.7897 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02011/0.02727, allocations: 2.729 MB / 0.7923 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.141e-05/0.02736, allocations: 16 kB / 0.7923 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.02749, allocations: 43.92 kB / 0.7924 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.02757, allocations: 39.83 kB / 0.7924 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.0277, allocations: 66.03 kB / 0.7925 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.02818, allocations: 247.2 kB / 0.7927 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.02818, allocations: 0 / 0.7927 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/0.02818, allocations: 0 / 0.7927 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.02819, allocations: 0 / 0.7927 GB, free: 7.391 MB / 0.7448 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.00103/0.02922, allocations: 0.5858 MB / 0.7933 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.02927, allocations: 12.03 kB / 0.7933 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.02936, allocations: 25.34 kB / 0.7933 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.02969, allocations: 185.9 kB / 0.7935 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.02971, allocations: 16.31 kB / 0.7935 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.02975, allocations: 15.94 kB / 0.7935 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.02995, allocations: 96.34 kB / 0.7936 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.02996, allocations: 4.625 kB / 0.7936 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.02997, allocations: 0 / 0.7936 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.02997, allocations: 0.8125 kB / 0.7936 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.03009, allocations: 51.97 kB / 0.7937 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.031, allocations: 453.2 kB / 0.7941 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.03149, allocations: 132.5 kB / 0.7942 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.03157, allocations: 32.8 kB / 0.7943 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.03159, allocations: 4 kB / 0.7943 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.03179, allocations: 105.8 kB / 0.7944 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.03179, allocations: 0 / 0.7944 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004063/0.0322, allocations: 178 kB / 0.7945 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.03226, allocations: 63.28 kB / 0.7946 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.03255, allocations: 275.3 kB / 0.7949 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.0326, allocations: 29.7 kB / 0.7949 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.03275, allocations: 177.3 kB / 0.7951 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.0328, allocations: 39.69 kB / 0.7951 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.03292, allocations: 71.33 kB / 0.7952 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003011/0.03322, allocations: 0.5079 MB / 0.7957 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.0333, allocations: 31.98 kB / 0.7957 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.03366, allocations: 256.6 kB / 0.7959 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.03384, allocations: 119.9 kB / 0.7961 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.03384, allocations: 0 / 0.7961 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003012/0.03414, allocations: 163.1 kB / 0.7962 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.03416, allocations: 8 kB / 0.7962 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.03417, allocations: 0 / 0.7962 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.03419, allocations: 8 kB / 0.7962 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.03428, allocations: 23.92 kB / 0.7963 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.03429, allocations: 0.5312 kB / 0.7963 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.03448, allocations: 28.44 kB / 0.7963 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.0345, allocations: 8 kB / 0.7963 GB, free: 3.461 MB / 0.7448 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.0001886/0.03469, allocations: 183.9 kB / 0.7965 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.03473, allocations: 23.83 kB / 0.7965 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.03478, allocations: 22.91 kB / 0.7965 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.03478, allocations: 4 kB / 0.7965 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.03479, allocations: 0 / 0.7965 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.03479, allocations: 4.594 kB / 0.7965 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.03559, allocations: 493.9 kB / 0.797 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.03559, allocations: 3.688 kB / 0.797 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.03562, allocations: 7.984 kB / 0.797 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.03562, allocations: 0 / 0.797 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.03563, allocations: 4 kB / 0.797 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.03564, allocations: 4 kB / 0.797 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.03564, allocations: 0 / 0.797 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.03602, allocations: 295.6 kB / 0.7973 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.03605, allocations: 11.91 kB / 0.7973 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.03607, allocations: 4 kB / 0.7973 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.03619, allocations: 11.98 kB / 0.7973 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.03627, allocations: 25.23 kB / 0.7973 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.0363, allocations: 8 kB / 0.7973 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001733/0.03647, allocations: 186.3 kB / 0.7975 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03647, allocations: 1.031 kB / 0.7975 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003034/0.03678, allocations: 51.89 kB / 0.7976 GB, free: 2.086 MB / 0.7448 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.0005375/0.03731, allocations: 189.9 kB / 0.7978 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.03758, allocations: 115.5 kB / 0.7979 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03758, allocations: 384 / 0.7979 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.03776, allocations: 67.59 kB / 0.7979 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.03821, allocations: 60.48 kB / 0.798 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.03892, allocations: 326.9 kB / 0.7983 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.03906, allocations: 116.2 kB / 0.7984 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.212e-05/0.03913, allocations: 21.62 kB / 0.7984 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.0392, allocations: 24.48 kB / 0.7985 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.0392, allocations: 0 / 0.7985 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.009411/0.04861, allocations: 4.004 MB / 0.8024 GB, free: 13.2 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] 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: 8.012511932989582]