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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005786/0.005786, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 10.08 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2567, allocations: 159.6 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002118/0.2588, allocations: 1.597 MB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.26, allocations: 0.6241 MB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2601, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.2603, allocations: 31.78 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.2607, allocations: 91.66 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.261, allocations: 141.2 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.2613, allocations: 219.4 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2614, allocations: 25.56 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.2616, allocations: 95.67 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03358/0.2952, allocations: 2.421 MB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.2953, allocations: 8 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2954, allocations: 24 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.2955, allocations: 35.83 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.2956, allocations: 109.2 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.2959, allocations: 191.4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2959, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/0.296, allocations: 4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.296, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 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.0007178/0.2967, allocations: 0.4984 MB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2967, allocations: 11.97 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.2968, allocations: 38.75 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.2969, allocations: 24.75 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2972, allocations: 240.4 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2972, allocations: 12 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.2972, allocations: 16 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2974, allocations: 97.58 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2974, allocations: 0 / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.2975, allocations: 4 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2975, allocations: 7.938 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2976, allocations: 52.52 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.2984, allocations: 488.3 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.2986, allocations: 78.48 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.2986, allocations: 28.86 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.2987, allocations: 3.984 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.2988, allocations: 103.3 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.883e-06/0.2988, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0002895/0.2991, allocations: 150.8 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.2992, allocations: 55.41 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.2994, allocations: 190.9 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.2994, allocations: 29.7 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.2995, allocations: 128.3 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.2995, allocations: 31.56 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.2996, allocations: 25.7 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2997, allocations: 330.8 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.2998, allocations: 31.98 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3, allocations: 125.7 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3001, allocations: 107.8 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3001, allocations: 4 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002328/0.3004, allocations: 149.3 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3004, allocations: 6.969 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3004, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3004, allocations: 8.156 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.3005, allocations: 15.94 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3005, allocations: 7.984 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3007, allocations: 23.84 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3008, allocations: 4 kB / 1.067 GB, free: 12.4 MB / 0.8262 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.0001247/0.3009, allocations: 133.8 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3009, allocations: 15.81 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.3011, allocations: 139.3 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3012, allocations: 0 / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3012, allocations: 3.938 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3012, allocations: 0 / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.3019, allocations: 465.2 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3019, allocations: 4 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.3019, allocations: 12 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3019, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3019, allocations: 7.938 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.302, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.302, allocations: 3.984 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3022, allocations: 219.2 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.3022, allocations: 104.8 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3023, allocations: 7.984 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3024, allocations: 12 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.3024, allocations: 15.97 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.3025, allocations: 8 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001118/0.3026, allocations: 140.9 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3026, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002983/0.3029, allocations: 40 kB / 1.069 GB, free: 10.99 MB / 0.8262 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.0006573/0.3036, allocations: 0.8184 MB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3038, allocations: 87.91 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3038, allocations: 4 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.3039, allocations: 43.92 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3042, allocations: 50.03 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.3061, allocations: 1.892 MB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3064, allocations: 0.7243 MB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.081e-05/0.3065, allocations: 21.53 kB / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.3066, allocations: 47.42 kB / 1.072 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3066, allocations: 4 kB / 1.072 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4386/0.7452, allocations: 4.664 MB / 1.077 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.7454, allocations: 249.9 kB / 1.077 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.615, allocations: 0 / 1.077 GB, free: 2.391 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches