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.004442/0.004442, allocations: 97.84 kB / 15.73 MB, free: 6.055 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.00127/0.00127, allocations: 195.4 kB / 16.67 MB, free: 5.977 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.849/2.849, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2967, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003162/0.2999, allocations: 1.781 MB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3011, allocations: 0.6122 MB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.3012, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.3014, allocations: 23.73 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.3018, allocations: 123.4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.3022, allocations: 151.3 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.3025, allocations: 235.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3026, allocations: 37.47 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.3028, allocations: 103.7 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006298/0.3091, allocations: 0.7958 MB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.3092, allocations: 16 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3093, allocations: 39.94 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.3094, allocations: 39.84 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3095, allocations: 91.55 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.3098, allocations: 211.1 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.3098, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3098, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3099, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 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.0008057/0.3107, allocations: 0.5411 MB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3107, allocations: 8.031 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.3108, allocations: 46.73 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.3108, allocations: 24.8 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.3111, allocations: 248.3 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3112, allocations: 12 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.3112, allocations: 12 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3114, allocations: 100.5 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3114, allocations: 4 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3115, allocations: 4 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3115, allocations: 7.938 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3116, allocations: 51.97 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.3125, allocations: 464.4 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.3126, allocations: 82.48 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.3127, allocations: 36.84 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3127, allocations: 0 / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3129, allocations: 95.36 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3129, allocations: 0 / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.000321/0.3133, allocations: 149.6 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3133, allocations: 59.41 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.3135, allocations: 199.4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.3136, allocations: 29.7 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.3137, allocations: 128.4 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.3137, allocations: 35.69 kB / 1.227 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.3138, allocations: 49.69 kB / 1.227 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.314, allocations: 334.8 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.3141, allocations: 27.98 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.3143, allocations: 126.4 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3145, allocations: 109 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3145, allocations: 3.938 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002674/0.3148, allocations: 148.7 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3148, allocations: 9.406 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3148, allocations: 3.938 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3149, allocations: 4.156 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.315, allocations: 23.98 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.315, allocations: 4 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3152, allocations: 19.83 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3152, allocations: 11.98 kB / 1.227 GB, free: 6.785 MB / 0.9825 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.0001365/0.3153, allocations: 125.8 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3154, allocations: 15.91 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.3156, allocations: 147 kB / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3156, allocations: 0 / 1.228 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3156, allocations: 4 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3157, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.3163, allocations: 454.3 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3163, allocations: 4 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.3163, allocations: 8 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3164, allocations: 0 / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3164, allocations: 7.984 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3164, allocations: 7.984 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3164, allocations: 4 kB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.3166, allocations: 215.3 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.3167, allocations: 108.9 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3168, allocations: 3.984 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3169, allocations: 8 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.3169, allocations: 15.97 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.317, allocations: 12 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001509/0.3171, allocations: 143.1 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3171, allocations: 0 / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003088/0.3175, allocations: 36 kB / 1.229 GB, free: 5.383 MB / 0.9825 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.0007992/0.3183, allocations: 0.8236 MB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3185, allocations: 84.16 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3185, allocations: 8.062 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.3186, allocations: 39.92 kB / 1.23 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.319, allocations: 55.38 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3212, allocations: 1.845 MB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3215, allocations: 0.7202 MB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.791e-05/0.3216, allocations: 25.52 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.3217, allocations: 51.41 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3217, allocations: 0 / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.3488, allocations: 5.102 MB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.205, allocations: 16.7 kB / 1.237 GB, free: 12.6 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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