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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00755/0.00755, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001906/0.001906, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.89 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6807, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003311/0.684, allocations: 1.93 MB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.6852, allocations: 0.6474 MB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.6853, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.6855, allocations: 23.84 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.6858, allocations: 87.66 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.6861, allocations: 143.8 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.6863, allocations: 215.4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.6865, allocations: 37.53 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.6866, allocations: 99.66 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009429/0.696, allocations: 0.737 MB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.6961, allocations: 12 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.6962, allocations: 28 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.6963, allocations: 35.83 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.6965, allocations: 91.48 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.6967, allocations: 143.6 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6967, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6967, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6967, allocations: 3.938 kB / 1.021 GB, free: 14.68 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.0008648/0.6976, allocations: 0.5412 MB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.6977, allocations: 8.031 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/0.6977, allocations: 20.75 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.698, allocations: 236.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.6981, allocations: 15.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.6981, allocations: 12 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.6983, allocations: 97.03 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6983, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.6984, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.6984, allocations: 7.938 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.6985, allocations: 55.97 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.6993, allocations: 468.3 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.6995, allocations: 86.42 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.6995, allocations: 32.84 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.6996, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.6997, allocations: 90.62 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.6998, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003263/0.7001, allocations: 153.5 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.7001, allocations: 63.38 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.7003, allocations: 192.4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.7004, allocations: 33.7 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.7005, allocations: 120.4 kB / 1.024 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.7005, allocations: 27.64 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.7006, allocations: 61.58 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7007, allocations: 326.8 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.7008, allocations: 31.98 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.701, allocations: 126.2 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.7012, allocations: 105 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7012, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000228/0.7014, allocations: 146.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7014, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7015, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7015, allocations: 12.09 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.7016, allocations: 15.98 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.7016, allocations: 7.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.7018, allocations: 23.83 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.7018, allocations: 8 kB / 1.024 GB, free: 11.31 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.0001229/0.7019, allocations: 125.8 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.702, allocations: 23.75 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.7022, allocations: 135.8 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.7022, allocations: 12.03 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7022, allocations: 3.938 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7022, allocations: 4 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.7028, allocations: 460.9 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7028, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.7028, allocations: 11.98 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7028, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.7028, allocations: 8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7028, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7028, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.7031, allocations: 219.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.7031, allocations: 96.91 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.7032, allocations: 8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7033, allocations: 7.984 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.7033, allocations: 11.98 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.7034, allocations: 12 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001128/0.7035, allocations: 139.4 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7035, allocations: 0 / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002945/0.7038, allocations: 47.94 kB / 1.026 GB, free: 9.914 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.0003315/0.7041, allocations: 165.8 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.7044, allocations: 103.8 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7044, allocations: 0 / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.7045, allocations: 44.3 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.7049, allocations: 44.12 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.7055, allocations: 374.3 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.7058, allocations: 0.7205 MB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.7059, allocations: 27.42 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7059, allocations: 0 / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.005/0.7109, allocations: 3.005 MB / 1.03 GB, free: 5.418 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches