Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_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.007959/0.007959, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001874/0.001875, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.691/2.691, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 70.36 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003007/0.2781, allocations: 1.773 MB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2793, allocations: 0.6005 MB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.2794, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.2796, allocations: 23.73 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.2801, allocations: 119.4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2804, allocations: 147.7 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.2807, allocations: 231.4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2808, allocations: 37.53 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.281, allocations: 111.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004496/0.2855, allocations: 0.7959 MB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.2855, allocations: 16 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.2856, allocations: 43.98 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.2857, allocations: 39.83 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.2858, allocations: 87.52 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.2862, allocations: 204.2 kB / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2862, allocations: 4 kB / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2862, allocations: 0 / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2862, allocations: 0 / 1.092 GB, free: 13.95 MB / 0.8575 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.0007252/0.2869, allocations: 0.5412 MB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.287, allocations: 12.03 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.287, allocations: 46.73 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.2871, allocations: 20.75 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.2873, allocations: 244.4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2874, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2874, allocations: 19.98 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2876, allocations: 98.91 kB / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2876, allocations: 0 / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2876, allocations: 0 / 1.093 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2876, allocations: 11.94 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2878, allocations: 51.97 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.2885, allocations: 468.3 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.2887, allocations: 82.55 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.2887, allocations: 28.84 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2888, allocations: 8.156 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.2889, allocations: 103.1 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.2889, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0002926/0.2892, allocations: 149 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2893, allocations: 59.39 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2895, allocations: 190.4 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.2895, allocations: 33.7 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.2896, allocations: 124.4 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.2896, allocations: 35.55 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.2897, allocations: 57.67 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.2898, allocations: 322.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.2899, allocations: 27.98 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.2901, allocations: 134.4 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2903, allocations: 105.1 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2903, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002444/0.2905, allocations: 149.4 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2905, allocations: 4 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2906, allocations: 7.938 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2906, allocations: 0 / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.2907, allocations: 19.92 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2907, allocations: 8.156 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.2909, allocations: 27.83 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2909, allocations: 4 kB / 1.095 GB, free: 10.51 MB / 0.8575 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.0001192/0.291, allocations: 133.8 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.2911, allocations: 19.8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.2913, allocations: 123.1 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2913, allocations: 4 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2913, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2913, allocations: 4 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.2918, allocations: 465.7 kB / 1.095 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2918, allocations: 3.938 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.2919, allocations: 15.92 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2919, allocations: 4 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2919, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2919, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2919, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2921, allocations: 219.3 kB / 1.096 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.2922, allocations: 101 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.2922, allocations: 7.984 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2923, allocations: 7.984 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2924, allocations: 15.98 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2924, allocations: 7.938 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000121/0.2926, allocations: 141.5 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2926, allocations: 0 / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003085/0.2929, allocations: 48 kB / 1.096 GB, free: 9.117 MB / 0.8575 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.0006835/0.2936, allocations: 0.813 MB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.2938, allocations: 91.22 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2938, allocations: 0 / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.2939, allocations: 48.3 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2943, allocations: 51.53 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.2962, allocations: 1.852 MB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2964, allocations: 0.7241 MB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.597e-05/0.2965, allocations: 25.53 kB / 1.099 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.2966, allocations: 55.41 kB / 1.099 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.2966, allocations: 0 / 1.099 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3179, allocations: 5.096 MB / 1.104 GB, free: 336 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.882, allocations: 8.172 kB / 1.104 GB, free: 336 kB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches