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.0008777/0.0008777, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0009555/0.0009555, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.641/1.641, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9517 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.147e-05, allocations: 6.281 kB / 0.9517 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002464/0.002495, allocations: 1.78 MB / 0.9534 GB, free: 124 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.00336, allocations: 0.5888 MB / 0.954 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.003436, allocations: 0 / 0.954 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.003626, allocations: 35.5 kB / 0.954 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.00395, allocations: 119.4 kB / 0.9542 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.004303, allocations: 152.6 kB / 0.9543 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.004543, allocations: 227.4 kB / 0.9545 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.004667, allocations: 25.78 kB / 0.9545 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.004798, allocations: 143.7 kB / 0.9547 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.007262, allocations: 0.7886 MB / 0.9554 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.007305, allocations: 16 kB / 0.9555 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.507e-05/0.00739, allocations: 32 kB / 0.9555 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.007455, allocations: 39.83 kB / 0.9555 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.007533, allocations: 63.81 kB / 0.9556 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.007861, allocations: 231.3 kB / 0.9558 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.007865, allocations: 3.938 kB / 0.9558 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.007867, allocations: 0 / 0.9558 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.007871, allocations: 4 kB / 0.9558 GB, free: 13.85 MB / 0.8698 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.0006138/0.008485, allocations: 483.8 kB / 0.9563 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.008523, allocations: 8.031 kB / 0.9563 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.008586, allocations: 28.73 kB / 0.9563 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.008796, allocations: 178.3 kB / 0.9565 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00881, allocations: 4.562 kB / 0.9565 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.008836, allocations: 19.94 kB / 0.9565 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.008992, allocations: 103.1 kB / 0.9566 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.009, allocations: 0 / 0.9566 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.009013, allocations: 4 kB / 0.9566 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.009018, allocations: 4 kB / 0.9566 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-05/0.009105, allocations: 55.91 kB / 0.9567 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.009665, allocations: 376.3 kB / 0.957 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.009792, allocations: 74.55 kB / 0.9571 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.009828, allocations: 25.08 kB / 0.9571 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.009853, allocations: 15.92 kB / 0.9571 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.00999, allocations: 95.36 kB / 0.9572 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.009991, allocations: 0 / 0.9572 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0002629/0.01025, allocations: 145.5 kB / 0.9574 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.01029, allocations: 55.41 kB / 0.9574 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.01044, allocations: 187.9 kB / 0.9576 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.01046, allocations: 33.7 kB / 0.9576 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.01053, allocations: 128.5 kB / 0.9578 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.01055, allocations: 31.73 kB / 0.9578 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.01061, allocations: 49.69 kB / 0.9578 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.0107, allocations: 334.8 kB / 0.9582 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.01075, allocations: 39.94 kB / 0.9582 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.01095, allocations: 243.3 kB / 0.9584 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.01105, allocations: 104 kB / 0.9585 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01105, allocations: 0 / 0.9585 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000168/0.01122, allocations: 149.5 kB / 0.9587 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01124, allocations: 10.8 kB / 0.9587 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01124, allocations: 4 kB / 0.9587 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01126, allocations: 0 / 0.9587 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.01134, allocations: 15.94 kB / 0.9587 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01135, allocations: 4 kB / 0.9587 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.01144, allocations: 27.81 kB / 0.9587 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.01145, allocations: 8 kB / 0.9587 GB, free: 10.62 MB / 0.8698 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 9.436e-05/0.01155, allocations: 141.6 kB / 0.9589 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.01157, allocations: 24 kB / 0.9589 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.01173, allocations: 123.1 kB / 0.959 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01174, allocations: 4 kB / 0.959 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01174, allocations: 7.922 kB / 0.959 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01175, allocations: 0 / 0.959 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.01209, allocations: 384.4 kB / 0.9594 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01209, allocations: 0 / 0.9594 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.01212, allocations: 7.984 kB / 0.9594 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01212, allocations: 4 kB / 0.9594 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.01213, allocations: 7.938 kB / 0.9594 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01213, allocations: 4 kB / 0.9594 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01214, allocations: 0 / 0.9594 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.01228, allocations: 223.3 kB / 0.9596 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.01232, allocations: 27.83 kB / 0.9596 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.01234, allocations: 3.938 kB / 0.9596 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.01239, allocations: 7.984 kB / 0.9597 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.01245, allocations: 15.98 kB / 0.9597 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.01247, allocations: 7.984 kB / 0.9597 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.01255, allocations: 141.2 kB / 0.9598 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01255, allocations: 0 / 0.9598 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002186/0.01277, allocations: 47.98 kB / 0.9599 GB, free: 9.398 MB / 0.8698 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.0003079/0.01308, allocations: 176.3 kB / 0.96 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.01324, allocations: 87.03 kB / 0.9601 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01325, allocations: 3.938 kB / 0.9601 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.0133, allocations: 43.92 kB / 0.9602 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01357, allocations: 39.97 kB / 0.9602 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.01409, allocations: 332.1 kB / 0.9605 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.961e-05/0.01417, allocations: 111.5 kB / 0.9606 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01422, allocations: 28.48 kB / 0.9606 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.01422, allocations: 0 / 0.9606 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of Templates: time 0.003975/0.01819, allocations: 3.07 MB / 0.9636 GB, free: 5.504 MB / 0.8698 GB " [Timeout remaining time 300] 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: 7.430683462880552]