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.007413/0.007413, allocations: 98.25 kB / 15.73 MB, free: 5.551 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.00177/0.00177, allocations: 196.5 kB / 16.68 MB, free: 5.48 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.713/2.713, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 56.09 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003131/0.2994, allocations: 1.77 MB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3006, allocations: 0.6005 MB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3007, allocations: 0 / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.3009, allocations: 35.66 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.3013, allocations: 115.5 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.3017, allocations: 150.6 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.302, allocations: 227.5 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3021, allocations: 37.55 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3022, allocations: 103.7 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.3066, allocations: 0.8081 MB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.3067, allocations: 20 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.3068, allocations: 43.92 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.3069, allocations: 31.91 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.307, allocations: 87.56 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.3073, allocations: 215.1 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3073, allocations: 4 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3073, allocations: 0 / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3073, allocations: 0 / 1.171 GB, free: 2.742 MB / 0.92 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.0007108/0.3081, allocations: 0.5372 MB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3081, allocations: 12.02 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.3082, allocations: 24.8 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.3085, allocations: 244.6 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3085, allocations: 12 kB / 1.172 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.3085, allocations: 15.98 kB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3087, allocations: 100.3 kB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3087, allocations: 0 / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3087, allocations: 7.938 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3088, allocations: 11.94 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3089, allocations: 51.97 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.3097, allocations: 460.4 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.3098, allocations: 78.48 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.3099, allocations: 40.84 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3099, allocations: 3.984 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.3101, allocations: 95.33 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.3101, allocations: 0 / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0002896/0.3104, allocations: 157.2 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3104, allocations: 51.41 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.3106, allocations: 207.4 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3107, allocations: 33.7 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/0.3107, allocations: 116.5 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3108, allocations: 31.73 kB / 1.173 GB, free: 280 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.3109, allocations: 57.64 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.311, allocations: 330.8 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.3111, allocations: 27.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3113, allocations: 127 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3114, allocations: 109 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3115, allocations: 4 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002395/0.3117, allocations: 145.4 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3117, allocations: 8 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3117, allocations: 0 / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3117, allocations: 8.156 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.3118, allocations: 19.98 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3119, allocations: 7.938 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.312, allocations: 23.98 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3121, allocations: 8 kB / 1.174 GB, free: 15.35 MB / 0.9356 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.0001187/0.3122, allocations: 137.6 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.3122, allocations: 15.91 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.3125, allocations: 131 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3125, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3125, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3125, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.3131, allocations: 473.8 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3131, allocations: 0 / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.3131, allocations: 4 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3131, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3131, allocations: 8 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3131, allocations: 3.984 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3131, allocations: 0 / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.3134, allocations: 231.2 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.3135, allocations: 97.05 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3135, allocations: 7.984 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3136, allocations: 11.98 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.3137, allocations: 7.984 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3137, allocations: 15.98 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001218/0.3138, allocations: 139.1 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.3138, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003039/0.3141, allocations: 39.94 kB / 1.175 GB, free: 13.95 MB / 0.9356 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.0002909/0.3144, allocations: 165.8 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3146, allocations: 95.78 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3147, allocations: 7.938 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.3147, allocations: 35.98 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3151, allocations: 57.42 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.3157, allocations: 299 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.316, allocations: 0.7202 MB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.3161, allocations: 25.52 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.3161, allocations: 23.42 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.3161, allocations: 4 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.007372/0.3235, allocations: 3.313 MB / 1.18 GB, free: 9.207 MB / 0.9356 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