Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001907/0.001907, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002386/0.002386, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.524/1.524, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.697/2.697, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002188/0.002188, allocations: 59.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8613, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002522/0.8638, allocations: 1.725 MB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.8651, allocations: 0.9059 MB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.8651, allocations: 3.938 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.8653, allocations: 29.95 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.8656, allocations: 121.2 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.8659, allocations: 147.6 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.8661, allocations: 252 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.8662, allocations: 24.28 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.8663, allocations: 116.4 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01533/0.8816, allocations: 2.021 MB / 1.159 GB, free: 30.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.8817, allocations: 19.91 kB / 1.159 GB, free: 30.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.8818, allocations: 37.98 kB / 1.159 GB, free: 30.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.8818, allocations: 33.44 kB / 1.159 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.8819, allocations: 84.89 kB / 1.159 GB, free: 30.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.8822, allocations: 221.1 kB / 1.159 GB, free: 30.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8822, allocations: 7.938 kB / 1.159 GB, free: 30.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8822, allocations: 0 / 1.159 GB, free: 30.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.8823, allocations: 0 / 1.159 GB, free: 30.52 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.0006859/0.8829, allocations: 492.6 kB / 1.16 GB, free: 30.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.883, allocations: 12.16 kB / 1.16 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.883, allocations: 28.27 kB / 1.16 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.8833, allocations: 184 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.8833, allocations: 6.094 kB / 1.16 GB, free: 29.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.8833, allocations: 13.56 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.8835, allocations: 94.27 kB / 1.16 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8835, allocations: 0 / 1.16 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.8835, allocations: 0 / 1.16 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.8835, allocations: 10.73 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.8836, allocations: 53.84 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.8842, allocations: 370.9 kB / 1.161 GB, free: 29.58 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.8846, allocations: 122.6 kB / 1.161 GB, free: 29.53 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.8847, allocations: 42.39 kB / 1.161 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.8847, allocations: 2.906 kB / 1.161 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.8849, allocations: 111.6 kB / 1.161 GB, free: 29.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.8849, allocations: 0 / 1.161 GB, free: 29.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003016/0.8852, allocations: 169.7 kB / 1.161 GB, free: 29.36 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.8852, allocations: 62.2 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.8853, allocations: 200.2 kB / 1.161 GB, free: 29.15 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.8854, allocations: 32.64 kB / 1.161 GB, free: 29.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.8854, allocations: 121 kB / 1.162 GB, free: 29.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.8855, allocations: 41.48 kB / 1.162 GB, free: 28.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.601e-05/0.8855, allocations: 55.86 kB / 1.162 GB, free: 28.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.8856, allocations: 328.2 kB / 1.162 GB, free: 28.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.8856, allocations: 38.92 kB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.8859, allocations: 236.1 kB / 1.162 GB, free: 28.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.886, allocations: 103.7 kB / 1.162 GB, free: 28.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.886, allocations: 2.688 kB / 1.162 GB, free: 28.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002212/0.8862, allocations: 162.1 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8862, allocations: 5.5 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8863, allocations: 3 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8863, allocations: 2.906 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.8863, allocations: 19 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.8863, allocations: 3.938 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.8866, allocations: 14.98 kB / 1.163 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8866, allocations: 9.812 kB / 1.163 GB, free: 28.22 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 9.752e-05/0.8867, allocations: 144.8 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.8867, allocations: 24.45 kB / 1.163 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.8867, allocations: 20 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8867, allocations: 2.625 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8867, allocations: 0 / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8868, allocations: 0 / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.8873, allocations: 424.3 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8873, allocations: 0 / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.8873, allocations: 10.44 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8873, allocations: 0 / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.8873, allocations: 5.938 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8873, allocations: 0 / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8873, allocations: 2.75 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.8875, allocations: 233.6 kB / 1.163 GB, free: 27.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.8875, allocations: 18.11 kB / 1.163 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.8875, allocations: 2.953 kB / 1.163 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.8877, allocations: 16.81 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.8877, allocations: 34.88 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.8878, allocations: 9.688 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.8879, allocations: 142.7 kB / 1.164 GB, free: 27.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8879, allocations: 2.969 kB / 1.164 GB, free: 27.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003108/0.8882, allocations: 38.16 kB / 1.164 GB, free: 27.44 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.0003476/0.8885, allocations: 176 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.8887, allocations: 97.44 kB / 1.164 GB, free: 27.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8887, allocations: 0 / 1.164 GB, free: 27.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.8888, allocations: 49.31 kB / 1.164 GB, free: 27.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.8892, allocations: 71.06 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.8897, allocations: 297.3 kB / 1.164 GB, free: 27.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.8898, allocations: 111.5 kB / 1.164 GB, free: 26.97 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.181e-05/0.8898, allocations: 28 kB / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.8899, allocations: 26.94 kB / 1.164 GB, free: 26.95 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.8899, allocations: 0 / 1.164 GB, free: 26.95 MB / 1.076 GB Notification: Performance of Templates: time 0.007581/0.8975, allocations: 3.991 MB / 1.168 GB, free: 26.48 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.682536973035894]