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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_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.004965/0.004965, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001292/0.001292, allocations: 196.7 kB / 16.68 MB, free: 5.93 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 75.83 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8144, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003575/0.818, allocations: 1.78 MB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.8193, allocations: 0.5966 MB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.8194, allocations: 0 / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.8196, allocations: 35.72 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.82, allocations: 115.5 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.8204, allocations: 148.7 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.8207, allocations: 231.4 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.8208, allocations: 37.48 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.821, allocations: 107.7 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00609/0.8271, allocations: 0.8111 MB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.8271, allocations: 16 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.8273, allocations: 36 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.8274, allocations: 43.77 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.8275, allocations: 91.56 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.8279, allocations: 204.2 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8279, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8279, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.828, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 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.0009065/0.8289, allocations: 0.5488 MB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8289, allocations: 8.922 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.829, allocations: 46.73 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.8291, allocations: 24.8 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.8294, allocations: 232.5 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.8294, allocations: 15.94 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.8295, allocations: 15.98 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.8297, allocations: 99.16 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8297, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.8297, allocations: 4 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.8298, allocations: 7.938 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.8299, allocations: 51.97 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.8308, allocations: 464.4 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.831, allocations: 78.55 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.831, allocations: 32.84 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.8311, allocations: 3.984 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.8313, allocations: 99.27 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.8313, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0003447/0.8316, allocations: 150.9 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.8317, allocations: 59.39 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.8319, allocations: 200 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.832, allocations: 29.92 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.8321, allocations: 124.5 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.8321, allocations: 35.67 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.8322, allocations: 61.62 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8324, allocations: 326.8 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/0.8325, allocations: 39.92 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.8327, allocations: 126.6 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.8329, allocations: 102.8 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8329, allocations: 3.938 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002608/0.8332, allocations: 146.7 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8332, allocations: 9.094 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.8332, allocations: 4.094 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8333, allocations: 8 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.8334, allocations: 23.92 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.8334, allocations: 4 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.8336, allocations: 19.88 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.8336, allocations: 8 kB / 1.173 GB, free: 12.25 MB / 0.9044 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.0001399/0.8338, allocations: 133.8 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.8338, allocations: 11.91 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.834, allocations: 135.1 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8341, allocations: 0 / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8341, allocations: 0 / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8341, allocations: 0 / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.8347, allocations: 459.5 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8347, allocations: 4 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.8348, allocations: 7.938 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.8348, allocations: 3.984 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8348, allocations: 4 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.8348, allocations: 8 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8348, allocations: 0 / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.835, allocations: 212.1 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.8352, allocations: 108.9 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.8352, allocations: 3.938 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8353, allocations: 8 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.8354, allocations: 19.97 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.8354, allocations: 12 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001321/0.8355, allocations: 139.1 kB / 1.175 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.266e-06/0.8355, allocations: 0 / 1.175 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003066/0.8359, allocations: 43.94 kB / 1.175 GB, free: 10.86 MB / 0.9044 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.0008903/0.8368, allocations: 0.8252 MB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.837, allocations: 103.8 kB / 1.175 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.837, allocations: 0 / 1.175 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.8371, allocations: 39.98 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.8375, allocations: 48.11 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.8399, allocations: 1.843 MB / 1.177 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.8403, allocations: 0.7241 MB / 1.178 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.831e-05/0.8404, allocations: 17.55 kB / 1.178 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.8405, allocations: 51.41 kB / 1.178 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.8405, allocations: 0 / 1.178 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.8686, allocations: 5.107 MB / 1.183 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.204, allocations: 13.73 kB / 1.183 GB, free: 2.066 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/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