Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 59.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7106, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003798/0.7145, allocations: 1.781 MB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.7157, allocations: 0.6005 MB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.7159, allocations: 4 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.7161, allocations: 31.67 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.7166, allocations: 107.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.717, allocations: 156.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.7173, allocations: 227.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.7174, allocations: 33.55 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.7177, allocations: 103.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00483/0.7225, allocations: 0.7974 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.7226, allocations: 16 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.7227, allocations: 39.92 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.7228, allocations: 35.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.7229, allocations: 87.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.7232, allocations: 215.3 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7232, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.726e-06/0.7232, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.7232, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 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.0007517/0.724, allocations: 0.5333 MB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.724, allocations: 12.03 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.7241, allocations: 16.75 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.7244, allocations: 244.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.7244, allocations: 8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.7245, allocations: 16 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.7247, allocations: 102.7 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.7247, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.7247, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7247, allocations: 7.875 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.7248, allocations: 55.97 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007887/0.7256, allocations: 468.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.7258, allocations: 78.55 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.7258, allocations: 32.86 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.7259, allocations: 7.969 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.726, allocations: 101.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.7261, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003033/0.7264, allocations: 141.6 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.7264, allocations: 55.41 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.7266, allocations: 195.4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.7266, allocations: 37.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.7267, allocations: 124.5 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.7268, allocations: 31.55 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.7269, allocations: 53.69 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.727, allocations: 326.8 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.727, allocations: 35.98 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.7273, allocations: 124.5 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.7274, allocations: 105 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7274, allocations: 7.938 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002243/0.7276, allocations: 153.3 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7277, allocations: 8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7277, allocations: 3.984 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7277, allocations: 7.938 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.7278, allocations: 16.16 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7278, allocations: 3.984 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.728, allocations: 28.03 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.728, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 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.0001236/0.7281, allocations: 141.5 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.7282, allocations: 15.81 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.7284, allocations: 139 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7284, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7284, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7284, allocations: 4 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.7289, allocations: 462.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7289, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.729, allocations: 11.94 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.729, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.729, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.729, allocations: 4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.729, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.7292, allocations: 226.9 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.7293, allocations: 96.91 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.7294, allocations: 4 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.7295, allocations: 7.984 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.7295, allocations: 15.98 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.7296, allocations: 11.98 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001116/0.7297, allocations: 131.2 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7297, allocations: 4 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002901/0.73, allocations: 47.94 kB / 1.026 GB, free: 9.676 MB / 0.7794 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.0003303/0.7303, allocations: 169.1 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.7305, allocations: 91.91 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7306, allocations: 3.938 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.7306, allocations: 47.92 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.731, allocations: 60 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.7316, allocations: 298.9 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.7319, allocations: 0.7202 MB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.99e-05/0.732, allocations: 21.53 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.732, allocations: 27.36 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.732, allocations: 4 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.006691/0.7387, allocations: 3.299 MB / 1.03 GB, free: 4.941 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches