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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_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.001586/0.001586, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 196.2 kB / 16.53 MB, free: 6.684 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.774/2.774, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.47 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2871, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003231/0.2904, allocations: 1.777 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2915, allocations: 0.6045 MB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.2916, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.2918, allocations: 31.67 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.2921, allocations: 111.4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.2925, allocations: 158.9 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.2927, allocations: 227.4 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2929, allocations: 37.53 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.293, allocations: 95.73 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.2988, allocations: 0.7998 MB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.2989, allocations: 16 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.299, allocations: 43.94 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.2991, allocations: 35.84 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.2992, allocations: 91.56 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.2996, allocations: 199.4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2996, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2996, allocations: 4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2996, allocations: 0 / 1.068 GB, free: 10.15 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.0008285/0.3005, allocations: 0.545 MB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3005, allocations: 12.03 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3006, allocations: 34.75 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.3006, allocations: 20.75 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3009, allocations: 248.3 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.301, allocations: 11.94 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.301, allocations: 19.94 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3012, allocations: 93.64 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.3012, allocations: 4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3012, allocations: 8 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3013, allocations: 3.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3014, allocations: 55.97 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.3022, allocations: 464.4 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3024, allocations: 78.55 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.3025, allocations: 32.86 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3026, allocations: 7.969 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.3028, allocations: 103.8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.3028, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003296/0.3031, allocations: 148.2 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3032, allocations: 55.41 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3034, allocations: 191.2 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.3034, allocations: 33.7 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3035, allocations: 128.3 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3036, allocations: 31.55 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.3037, allocations: 53.69 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3038, allocations: 330.8 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.3039, allocations: 35.92 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.3041, allocations: 118.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.3043, allocations: 109.1 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3043, allocations: 224 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002539/0.3046, allocations: 156.3 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3046, allocations: 11.94 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3046, allocations: 7.922 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.3046, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3047, allocations: 19.94 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3048, allocations: 0 / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.305, allocations: 23.83 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.305, allocations: 8 kB / 1.071 GB, free: 6.707 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.000172/0.3052, allocations: 133.8 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3052, allocations: 23.78 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3055, allocations: 127.1 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3055, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3055, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3055, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.3062, allocations: 454.2 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3062, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.3062, allocations: 15.94 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3062, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3062, allocations: 4 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3062, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3063, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.3065, allocations: 217.6 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.3066, allocations: 104.8 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3067, allocations: 0 / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3068, allocations: 15.98 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.3069, allocations: 15.98 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3069, allocations: 11.98 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001356/0.307, allocations: 131.2 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.307, allocations: 0 / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004165/0.3075, allocations: 43.98 kB / 1.073 GB, free: 5.324 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.0009395/0.3084, allocations: 0.8176 MB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3087, allocations: 104.8 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.3087, allocations: 0 / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.3088, allocations: 44.8 kB / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3092, allocations: 46.88 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.3116, allocations: 1.845 MB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.312, allocations: 0.7241 MB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.177e-05/0.3121, allocations: 25.53 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.3122, allocations: 51.42 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3122, allocations: 0 / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.595/1.907, allocations: 5.054 MB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.84, allocations: 9.047 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches