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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005802/0.005802, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001354/0.001354, allocations: 192 kB / 16.67 MB, free: 6.379 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.809/2.809, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 75.88 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.323, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003204/0.3263, allocations: 1.773 MB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3274, allocations: 0.5972 MB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.3275, allocations: 0 / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.3277, allocations: 27.73 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.3281, allocations: 123.4 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.3285, allocations: 151.7 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.3288, allocations: 227.5 kB / 1.211 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3289, allocations: 37.48 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3291, allocations: 103.7 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/0.3336, allocations: 0.7984 MB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.3337, allocations: 20 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3338, allocations: 31.98 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.3339, allocations: 47.77 kB / 1.212 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.334, allocations: 87.56 kB / 1.212 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.3343, allocations: 203.4 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3344, allocations: 3.938 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3344, allocations: 4 kB / 1.212 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3344, allocations: 0 / 1.212 GB, free: 5.645 MB / 0.9669 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.0008162/0.3352, allocations: 0.5411 MB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3352, allocations: 8.625 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.3353, allocations: 20.75 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3356, allocations: 244.5 kB / 1.213 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3357, allocations: 8 kB / 1.213 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.3357, allocations: 20 kB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3359, allocations: 96.08 kB / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3359, allocations: 0 / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3359, allocations: 4 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3359, allocations: 11.92 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3361, allocations: 51.97 kB / 1.213 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.3369, allocations: 476.2 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3371, allocations: 78.55 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.3371, allocations: 24.86 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.3372, allocations: 11.92 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.3373, allocations: 95.88 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3373, allocations: 0 / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003108/0.3377, allocations: 147.6 kB / 1.214 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3377, allocations: 51.41 kB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3379, allocations: 199 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3379, allocations: 33.7 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.338, allocations: 124.3 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.3381, allocations: 39.47 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.3382, allocations: 57.69 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3383, allocations: 330.8 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.3383, allocations: 27.98 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.3386, allocations: 121.9 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3387, allocations: 112 kB / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3387, allocations: 0 / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002314/0.339, allocations: 149.3 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.339, allocations: 8.156 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.339, allocations: 4 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.339, allocations: 3.938 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3391, allocations: 15.94 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.3392, allocations: 4 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3394, allocations: 27.83 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3394, allocations: 8 kB / 1.215 GB, free: 2.258 MB / 0.9669 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.0001272/0.3395, allocations: 137.8 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.3396, allocations: 19.81 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3398, allocations: 135 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3398, allocations: 0 / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3398, allocations: 7.938 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3398, allocations: 0 / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.3404, allocations: 450.3 kB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3404, allocations: 0 / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3404, allocations: 7.938 kB / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3404, allocations: 4 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3404, allocations: 4 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3405, allocations: 0 / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3405, allocations: 0 / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3407, allocations: 221.8 kB / 1.216 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.3408, allocations: 104.8 kB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3408, allocations: 8 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3409, allocations: 7.984 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.341, allocations: 19.98 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.341, allocations: 7.984 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3412, allocations: 140.2 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3412, allocations: 0 / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003189/0.3415, allocations: 47.89 kB / 1.216 GB, free: 0.8594 MB / 0.9669 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.0003591/0.3418, allocations: 165.9 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3421, allocations: 95.84 kB / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3421, allocations: 320 / 1.216 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.3422, allocations: 47.92 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3426, allocations: 47.41 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.3432, allocations: 290.3 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3435, allocations: 0.7202 MB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.538e-05/0.3436, allocations: 25.53 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.3437, allocations: 19.44 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3437, allocations: 0 / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.007757/0.3515, allocations: 3.39 MB / 1.221 GB, free: 12.07 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches