Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.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.002016/0.002016, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002577/0.002577, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.824 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.753/2.753, allocations: 475.9 MB / 0.7699 GB, free: 4.82 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.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter") [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.002211/0.002211, allocations: 70.23 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3173, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003381/0.3206, allocations: 1.779 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3219, allocations: 0.5928 MB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.322, allocations: 7.938 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.3222, allocations: 23.73 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.3225, allocations: 115.5 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3229, allocations: 151.7 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.3232, allocations: 231.5 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.3233, allocations: 25.73 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3235, allocations: 107.7 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00622/0.3297, allocations: 0.799 MB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.3298, allocations: 16 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3299, allocations: 39.98 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.33, allocations: 35.91 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3301, allocations: 75.56 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.3305, allocations: 211.2 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3305, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3305, allocations: 7.938 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3305, allocations: 0 / 1.287 GB, free: 7.988 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008696/0.3314, allocations: 480.9 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3314, allocations: 8.031 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.3315, allocations: 20.84 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.3318, allocations: 186.7 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3318, allocations: 15.98 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3319, allocations: 16 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3321, allocations: 97.66 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3321, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3321, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3321, allocations: 7.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3322, allocations: 58.72 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008675/0.3331, allocations: 384.1 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3333, allocations: 74.55 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.3333, allocations: 29.06 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.3334, allocations: 7.938 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.3335, allocations: 92.12 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.3336, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003292/0.3339, allocations: 146.8 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3339, allocations: 59.34 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3342, allocations: 191.6 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.3342, allocations: 37.64 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3343, allocations: 120.5 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3343, allocations: 39.73 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.3344, allocations: 53.67 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3346, allocations: 326.8 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.3347, allocations: 27.98 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.335, allocations: 243.3 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3351, allocations: 100.5 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.3351, allocations: 4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002519/0.3354, allocations: 157.4 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3354, allocations: 6.188 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.3354, allocations: 0 / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3354, allocations: 4 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3355, allocations: 23.86 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3356, allocations: 4 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3357, allocations: 19.89 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3358, allocations: 12.14 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001334/0.3359, allocations: 133.8 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3359, allocations: 15.91 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3362, allocations: 131 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3362, allocations: 3.938 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3362, allocations: 0 / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3362, allocations: 4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.3367, allocations: 385.9 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3367, allocations: 3.938 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.3368, allocations: 4 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3368, allocations: 4 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3368, allocations: 8 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.3368, allocations: 4 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3368, allocations: 0 / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3371, allocations: 226.7 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.3371, allocations: 23.89 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3371, allocations: 0 / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3372, allocations: 11.98 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.3373, allocations: 19.97 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3373, allocations: 4 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001429/0.3375, allocations: 141.6 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3375, allocations: 0 / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003087/0.3378, allocations: 47.89 kB / 1.291 GB, free: 3.527 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004494/0.3382, allocations: 170.8 kB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.3385, allocations: 83.84 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.3385, allocations: 0 / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.3386, allocations: 47.92 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.339, allocations: 63.72 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.3397, allocations: 286.8 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3399, allocations: 103.5 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.802e-05/0.34, allocations: 29.41 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.34, allocations: 31.42 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of SimCode: time 7.22e-07/0.34, allocations: 0 / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of Templates: time 0.008785/0.3488, allocations: 3.62 MB / 1.295 GB, free: 15.15 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.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.094097435474396]