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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007579/0.007579, allocations: 96.73 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 75.88 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3287, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003022/0.3317, allocations: 1.781 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3328, allocations: 0.6084 MB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.3329, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.3331, allocations: 23.73 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3334, allocations: 127.4 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3338, allocations: 143.7 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.334, allocations: 227.5 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3342, allocations: 29.55 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3343, allocations: 107.7 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00457/0.3389, allocations: 0.8067 MB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.3389, allocations: 16 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.339, allocations: 36 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3391, allocations: 43.77 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3392, allocations: 87.56 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.3395, allocations: 211.1 kB / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3395, allocations: 0 / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3395, allocations: 3.938 kB / 1.225 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.3395, allocations: 0 / 1.225 GB, free: 9.797 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.000748/0.3403, allocations: 0.5372 MB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3403, allocations: 8.031 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.3404, allocations: 24.8 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3407, allocations: 260.5 kB / 1.226 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3407, allocations: 8 kB / 1.226 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.3407, allocations: 16 kB / 1.226 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3409, allocations: 91.91 kB / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3409, allocations: 0 / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3409, allocations: 8 kB / 1.226 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3409, allocations: 7.922 kB / 1.226 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.341, allocations: 51.97 kB / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.3418, allocations: 472.4 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.342, allocations: 74.55 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.342, allocations: 32.78 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.342, allocations: 3.984 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.3422, allocations: 103.4 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3422, allocations: 0 / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003048/0.3425, allocations: 141.5 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.3426, allocations: 59.61 kB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3428, allocations: 195.2 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3428, allocations: 37.58 kB / 1.227 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.3429, allocations: 128.4 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3429, allocations: 35.7 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.343, allocations: 57.66 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3431, allocations: 326.8 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3432, allocations: 31.98 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3435, allocations: 130.1 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3436, allocations: 101.1 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3436, allocations: 0 / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002401/0.3438, allocations: 149.5 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3438, allocations: 8 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3439, allocations: 0 / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3439, allocations: 11.88 kB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.344, allocations: 15.98 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.344, allocations: 4 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3442, allocations: 23.88 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3442, allocations: 4 kB / 1.228 GB, free: 6.406 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.0001292/0.3443, allocations: 141.7 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3443, allocations: 19.89 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3446, allocations: 139 kB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3446, allocations: 0 / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3446, allocations: 0 / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3446, allocations: 0 / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.3451, allocations: 450.2 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3451, allocations: 4 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.3451, allocations: 19.92 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3451, allocations: 0 / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3452, allocations: 0 / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3452, allocations: 4 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3452, allocations: 0 / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3454, allocations: 219.3 kB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.3454, allocations: 104.9 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3455, allocations: 0 / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3456, allocations: 19.98 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.3456, allocations: 19.92 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3457, allocations: 8 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000131/0.3458, allocations: 139.1 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3458, allocations: 0 / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003069/0.3461, allocations: 40 kB / 1.229 GB, free: 5 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.0003398/0.3464, allocations: 164.3 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3467, allocations: 95.83 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3467, allocations: 0 / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.3467, allocations: 43.8 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3472, allocations: 39.97 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.3478, allocations: 302.6 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.348, allocations: 0.7205 MB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.3481, allocations: 21.55 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3482, allocations: 27.42 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3482, allocations: 0 / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.006675/0.3548, allocations: 3.325 MB / 1.234 GB, free: 280 kB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) 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) Reference file matches