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.001166/0.001166, allocations: 91.84 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.008761/0.008761, allocations: 169.9 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 443.4 MB / 0.7176 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 8.281 kB / 0.8797 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 155.2 MB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002006/0.2873, allocations: 1.587 MB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2884, allocations: 0.628 MB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.2885, allocations: 3.938 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.2887, allocations: 27.84 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.2889, allocations: 91.66 kB / 1.034 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.2892, allocations: 137.1 kB / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2894, allocations: 223.3 kB / 1.034 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2896, allocations: 33.73 kB / 1.034 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.2897, allocations: 91.67 kB / 1.034 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03672/0.3264, allocations: 2.422 MB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.3265, allocations: 8 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3266, allocations: 28 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.3267, allocations: 27.91 kB / 1.036 GB, free: 15.53 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3268, allocations: 113.2 kB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3271, allocations: 191.4 kB / 1.037 GB, free: 15.22 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3271, allocations: 3.938 kB / 1.037 GB, free: 15.22 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3271, allocations: 0 / 1.037 GB, free: 15.22 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3271, allocations: 0 / 1.037 GB, free: 15.22 MB / 0.795 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.0006609/0.3277, allocations: 0.4963 MB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3278, allocations: 12.02 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.3278, allocations: 38.75 kB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.3279, allocations: 24.66 kB / 1.037 GB, free: 14.58 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3281, allocations: 240.4 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3282, allocations: 12 kB / 1.038 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.3282, allocations: 16 kB / 1.038 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3284, allocations: 97.64 kB / 1.038 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3284, allocations: 0 / 1.038 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3284, allocations: 4 kB / 1.038 GB, free: 14.17 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3284, allocations: 7.938 kB / 1.038 GB, free: 14.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3286, allocations: 51.97 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.3293, allocations: 484.3 kB / 1.038 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3295, allocations: 78.48 kB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3295, allocations: 44.95 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3296, allocations: 0 / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.3297, allocations: 97.34 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3297, allocations: 0 / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0002752/0.33, allocations: 149.6 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.33, allocations: 59.34 kB / 1.039 GB, free: 13.13 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3302, allocations: 187 kB / 1.039 GB, free: 12.94 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.3303, allocations: 41.69 kB / 1.039 GB, free: 12.89 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.3304, allocations: 124.4 kB / 1.039 GB, free: 12.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3304, allocations: 27.56 kB / 1.039 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.3304, allocations: 29.7 kB / 1.039 GB, free: 12.7 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3305, allocations: 326.8 kB / 1.039 GB, free: 12.37 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3306, allocations: 27.98 kB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.3308, allocations: 124.5 kB / 1.039 GB, free: 12.19 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.331, allocations: 104.7 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.331, allocations: 4 kB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002273/0.3312, allocations: 153.3 kB / 1.04 GB, free: 11.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3312, allocations: 10.5 kB / 1.04 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3312, allocations: 3.984 kB / 1.04 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3313, allocations: 7.984 kB / 1.04 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.3314, allocations: 12 kB / 1.04 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3314, allocations: 7.984 kB / 1.04 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3316, allocations: 28 kB / 1.04 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3316, allocations: 4 kB / 1.04 GB, free: 11.84 MB / 0.795 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.0001171/0.3317, allocations: 141.7 kB / 1.04 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3317, allocations: 15.81 kB / 1.04 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.332, allocations: 135 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.332, allocations: 4 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.332, allocations: 0 / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.332, allocations: 4 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.3325, allocations: 466.2 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3325, allocations: 0 / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.3326, allocations: 4 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3326, allocations: 0 / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3326, allocations: 4 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3326, allocations: 4 kB / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3326, allocations: 0 / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.3328, allocations: 222.5 kB / 1.041 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.3329, allocations: 104.8 kB / 1.041 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3329, allocations: 7.984 kB / 1.041 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.333, allocations: 11.94 kB / 1.041 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.3331, allocations: 23.91 kB / 1.041 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.3331, allocations: 8 kB / 1.041 GB, free: 10.61 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001092/0.3332, allocations: 140.9 kB / 1.041 GB, free: 10.47 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3332, allocations: 0 / 1.041 GB, free: 10.47 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003028/0.3335, allocations: 43.91 kB / 1.041 GB, free: 10.43 MB / 0.795 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.0006381/0.3342, allocations: 0.8114 MB / 1.042 GB, free: 9.609 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.3344, allocations: 95.91 kB / 1.042 GB, free: 9.516 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3344, allocations: 0 / 1.042 GB, free: 9.516 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/0.3345, allocations: 47.86 kB / 1.042 GB, free: 9.469 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3349, allocations: 48.77 kB / 1.042 GB, free: 9.422 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3367, allocations: 1.883 MB / 1.044 GB, free: 7.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.337, allocations: 0.7244 MB / 1.045 GB, free: 6.68 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.294e-05/0.337, allocations: 17.55 kB / 1.045 GB, free: 6.664 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.3371, allocations: 51.41 kB / 1.045 GB, free: 6.613 MB / 0.795 GB Notification: Performance of SimCode: time 3.8e-07/0.3371, allocations: 0 / 1.045 GB, free: 6.613 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.3516, allocations: 4.663 MB / 1.049 GB, free: 2.102 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.3518, allocations: 242.2 kB / 1.049 GB, free: 1.848 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.758, allocations: 3.938 kB / 1.049 GB, free: 1.844 MB / 0.795 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