Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001012/0.001012, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001243/0.001243, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9774/0.9774, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.976/1.976, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.932e-05, allocations: 6.781 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.005369/0.005388, allocations: 1.878 MB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.006724, allocations: 0.6068 MB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.006816, allocations: 8.484 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.007024, allocations: 26.36 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.007444, allocations: 116.7 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.007843, allocations: 152.7 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.008171, allocations: 233.4 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.008299, allocations: 26.94 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009398/0.0177, allocations: 2.378 MB / 0.7653 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.01789, allocations: 95.73 kB / 0.7654 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.01793, allocations: 13.03 kB / 0.7654 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.01802, allocations: 35.92 kB / 0.7654 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.01808, allocations: 35.84 kB / 0.7655 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.01815, allocations: 56.97 kB / 0.7655 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.01844, allocations: 175.4 kB / 0.7657 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01844, allocations: 0 / 0.7657 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01844, allocations: 5.469 kB / 0.7657 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.01845, allocations: 0 / 0.7657 GB, free: 1.762 MB / 0.7136 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.0005029/0.01895, allocations: 458.3 kB / 0.7661 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01899, allocations: 12.03 kB / 0.7662 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.01903, allocations: 24.84 kB / 0.7662 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.01921, allocations: 166.4 kB / 0.7663 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.01923, allocations: 12.56 kB / 0.7663 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.01925, allocations: 19.94 kB / 0.7664 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.01935, allocations: 76.08 kB / 0.7664 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.01936, allocations: 2.125 kB / 0.7664 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.01937, allocations: 3.938 kB / 0.7664 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.01937, allocations: 4 kB / 0.7664 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.01941, allocations: 23.92 kB / 0.7665 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.01983, allocations: 276.6 kB / 0.7667 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.188e-05/0.01991, allocations: 55.41 kB / 0.7668 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.01993, allocations: 17.08 kB / 0.7668 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.01995, allocations: 8.438 kB / 0.7668 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.129e-05/0.02003, allocations: 78.17 kB / 0.7669 GB, free: 464 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.02003, allocations: 0 / 0.7669 GB, free: 464 kB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000141/0.02017, allocations: 85.59 kB / 0.767 GB, free: 372 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.02021, allocations: 55.41 kB / 0.767 GB, free: 304 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.02032, allocations: 185.1 kB / 0.7672 GB, free: 108 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.02034, allocations: 33.7 kB / 0.7672 GB, free: 68 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.0204, allocations: 120.4 kB / 0.7673 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.02043, allocations: 34.17 kB / 0.7674 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.02048, allocations: 57.64 kB / 0.7674 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.02057, allocations: 330.7 kB / 0.7677 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.02059, allocations: 15.98 kB / 0.7678 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.02074, allocations: 232.8 kB / 0.768 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.032e-05/0.02083, allocations: 88.81 kB / 0.7681 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.02083, allocations: 4 kB / 0.7681 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001149/0.02094, allocations: 103.2 kB / 0.7682 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.02096, allocations: 4 kB / 0.7682 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.02096, allocations: 7.078 kB / 0.7682 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.02098, allocations: 3.984 kB / 0.7682 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.02105, allocations: 27.92 kB / 0.7682 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.02106, allocations: 4 kB / 0.7682 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.02114, allocations: 15.94 kB / 0.7682 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.02115, allocations: 4 kB / 0.7682 GB, free: 14.95 MB / 0.7292 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 7.916e-05/0.02123, allocations: 140.2 kB / 0.7684 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.02124, allocations: 15.98 kB / 0.7684 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.02134, allocations: 87.08 kB / 0.7685 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.02135, allocations: 0 / 0.7685 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.02135, allocations: 0 / 0.7685 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.02135, allocations: 0 / 0.7685 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.0216, allocations: 298.4 kB / 0.7688 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0216, allocations: 0 / 0.7688 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.02162, allocations: 4 kB / 0.7688 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.02162, allocations: 11.94 kB / 0.7688 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.02163, allocations: 10.55 kB / 0.7688 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.02163, allocations: 0 / 0.7688 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02163, allocations: 0 / 0.7688 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.537e-05/0.02173, allocations: 177.9 kB / 0.7689 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.02175, allocations: 11.91 kB / 0.769 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.02177, allocations: 11.98 kB / 0.769 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.02181, allocations: 4.656 kB / 0.769 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.02186, allocations: 19.91 kB / 0.769 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.02187, allocations: 6.406 kB / 0.769 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.02191, allocations: 53.84 kB / 0.769 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02191, allocations: 0 / 0.769 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001747/0.02208, allocations: 39.94 kB / 0.7691 GB, free: 14.02 MB / 0.7292 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.0003072/0.02239, allocations: 165.4 kB / 0.7692 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.0225, allocations: 72.75 kB / 0.7693 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.0225, allocations: 0 / 0.7693 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.02255, allocations: 36.78 kB / 0.7693 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.02275, allocations: 48.75 kB / 0.7694 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.02318, allocations: 287 kB / 0.7697 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.02323, allocations: 71.98 kB / 0.7697 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.02328, allocations: 18.45 kB / 0.7698 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.02342, allocations: 102.2 kB / 0.7699 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.02342, allocations: 0 / 0.7699 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.005235/0.02866, allocations: 3.641 MB / 0.7734 GB, free: 9.766 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1924079125747085]