Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008967/0.0008967, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009077/0.0009077, allocations: 173 kB / 23.36 MB, free: 1.133 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.9982/0.9982, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.429/2.429, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.404e-05, allocations: 4.281 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002283/0.002297, allocations: 1.862 MB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.003131, allocations: 0.6083 MB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.003192, allocations: 3.938 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.003349, allocations: 31.72 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.003606, allocations: 111.3 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.003833, allocations: 147.6 kB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.004038, allocations: 235.4 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.004138, allocations: 26.41 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00627/0.01041, allocations: 2.376 MB / 0.8439 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.01057, allocations: 95.75 kB / 0.8439 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.0106, allocations: 15.94 kB / 0.844 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.01068, allocations: 35.92 kB / 0.844 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.01074, allocations: 39.83 kB / 0.844 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.01081, allocations: 55.83 kB / 0.8441 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.01108, allocations: 171.4 kB / 0.8442 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01108, allocations: 3.984 kB / 0.8443 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01109, allocations: 0 / 0.8443 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.01109, allocations: 0 / 0.8443 GB, free: 9.324 MB / 0.8073 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.0005762/0.01167, allocations: 451.2 kB / 0.8447 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.0117, allocations: 12.62 kB / 0.8447 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.01174, allocations: 20.91 kB / 0.8447 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.01191, allocations: 179.4 kB / 0.8449 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.01193, allocations: 8.562 kB / 0.8449 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.01195, allocations: 23.92 kB / 0.8449 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9e-05/0.01204, allocations: 69.66 kB / 0.845 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01205, allocations: 0 / 0.845 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.01206, allocations: 3.984 kB / 0.845 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01206, allocations: 4 kB / 0.845 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.01211, allocations: 31.86 kB / 0.845 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.01251, allocations: 271 kB / 0.8453 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.01259, allocations: 58.48 kB / 0.8453 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.01261, allocations: 16.86 kB / 0.8454 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.01263, allocations: 0 / 0.8454 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.811e-05/0.01272, allocations: 83.34 kB / 0.8454 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.01272, allocations: 224 / 0.8454 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001442/0.01286, allocations: 97.34 kB / 0.8455 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01289, allocations: 55.34 kB / 0.8456 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.013, allocations: 196.3 kB / 0.8458 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01302, allocations: 29.7 kB / 0.8458 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.01307, allocations: 108.5 kB / 0.8459 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.01309, allocations: 39.67 kB / 0.8459 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.01315, allocations: 53.66 kB / 0.846 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/0.01323, allocations: 334.7 kB / 0.8463 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.01325, allocations: 16 kB / 0.8463 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.0134, allocations: 222.9 kB / 0.8465 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/0.01347, allocations: 83.81 kB / 0.8466 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01347, allocations: 0 / 0.8466 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001069/0.01358, allocations: 101.6 kB / 0.8467 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01359, allocations: 12.03 kB / 0.8467 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01359, allocations: 0 / 0.8467 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.01361, allocations: 4 kB / 0.8467 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.01368, allocations: 27.92 kB / 0.8468 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.01368, allocations: 4 kB / 0.8468 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.01376, allocations: 23.88 kB / 0.8468 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.01377, allocations: 8 kB / 0.8468 GB, free: 6.484 MB / 0.8073 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 8.492e-05/0.01385, allocations: 128.5 kB / 0.8469 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.01387, allocations: 15.98 kB / 0.8469 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.01396, allocations: 91.12 kB / 0.847 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01396, allocations: 0 / 0.847 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01397, allocations: 0 / 0.847 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01397, allocations: 3.984 kB / 0.847 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.01421, allocations: 293.5 kB / 0.8473 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01421, allocations: 0 / 0.8473 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.01423, allocations: 11.98 kB / 0.8473 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01423, allocations: 0 / 0.8473 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.01424, allocations: 4 kB / 0.8473 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.01424, allocations: 3.938 kB / 0.8473 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01424, allocations: 4 kB / 0.8473 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.01434, allocations: 183.4 kB / 0.8475 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.01436, allocations: 15.89 kB / 0.8475 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.01437, allocations: 8 kB / 0.8475 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.01442, allocations: 7.984 kB / 0.8475 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.01446, allocations: 15.92 kB / 0.8475 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01447, allocations: 7.984 kB / 0.8475 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.01451, allocations: 48.8 kB / 0.8476 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01451, allocations: 0 / 0.8476 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001678/0.01468, allocations: 43.89 kB / 0.8476 GB, free: 5.562 MB / 0.8073 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.0002943/0.01497, allocations: 164.4 kB / 0.8478 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.01508, allocations: 64.02 kB / 0.8479 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.01509, allocations: 4 kB / 0.8479 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.01513, allocations: 40.77 kB / 0.8479 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.01533, allocations: 49.75 kB / 0.8479 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.0157, allocations: 279.4 kB / 0.8482 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.01574, allocations: 79.84 kB / 0.8483 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.01578, allocations: 21.42 kB / 0.8483 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01592, allocations: 109.2 kB / 0.8484 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.01592, allocations: 0 / 0.8484 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of Templates: time 0.004914/0.02084, allocations: 3.639 MB / 0.852 GB, free: 1.148 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.371296546887606]