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.007051/0.007051, allocations: 98.16 kB / 15.73 MB, free: 6.039 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.001684/0.001684, allocations: 204.7 kB / 16.68 MB, free: 5.961 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.815/2.815, allocations: 469.8 MB / 0.7425 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.00186, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3238, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003025/0.3269, allocations: 1.785 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.328, allocations: 0.6045 MB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.328, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.3282, allocations: 23.73 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.3286, allocations: 119.4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.3289, allocations: 151.6 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3292, allocations: 223.5 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3293, allocations: 37.48 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3295, allocations: 107.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005709/0.3352, allocations: 0.8057 MB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.3353, allocations: 20 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3354, allocations: 32 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.3355, allocations: 43.78 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3356, allocations: 91.55 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.336, allocations: 215.1 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.336, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.336, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.336, allocations: 0 / 1.224 GB, free: 10.23 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.0008008/0.3368, allocations: 0.541 MB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3368, allocations: 8.031 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.3369, allocations: 42.73 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.337, allocations: 28.8 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3373, allocations: 244.4 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3373, allocations: 15.94 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.3373, allocations: 16 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3375, allocations: 95.52 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3375, allocations: 0 / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3376, allocations: 4 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3376, allocations: 7.938 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3377, allocations: 47.97 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.3385, allocations: 472.4 kB / 1.226 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3387, allocations: 74.55 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.3387, allocations: 36.83 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.3388, allocations: 7.984 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.339, allocations: 99.31 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.339, allocations: 0 / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003166/0.3393, allocations: 149.7 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3394, allocations: 51.41 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3396, allocations: 199.4 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3396, allocations: 29.7 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3397, allocations: 128.4 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3398, allocations: 39.69 kB / 1.227 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.3399, allocations: 57.67 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.34, allocations: 326.8 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.3401, allocations: 35.92 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.3403, allocations: 128.5 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3405, allocations: 104.8 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3405, allocations: 4 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002275/0.3407, allocations: 145.5 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3407, allocations: 5.719 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3407, allocations: 3.938 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3408, allocations: 4 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.3409, allocations: 19.92 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3409, allocations: 7.938 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3411, allocations: 23.88 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3411, allocations: 8.156 kB / 1.227 GB, free: 6.781 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.000123/0.3412, allocations: 137.8 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3412, allocations: 15.91 kB / 1.228 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.3415, allocations: 135.1 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3415, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3415, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3415, allocations: 0 / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.342, allocations: 462.3 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3421, allocations: 0 / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.3421, allocations: 7.938 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3421, allocations: 0 / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3421, allocations: 11.98 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3421, allocations: 0 / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3421, allocations: 0 / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3424, allocations: 215.4 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.928e-05/0.3425, allocations: 104.9 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3425, allocations: 11.98 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.3426, allocations: 8 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.3426, allocations: 11.97 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3427, allocations: 8 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001249/0.3428, allocations: 143.1 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.026e-06/0.3428, allocations: 0 / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002776/0.3431, allocations: 39.94 kB / 1.229 GB, free: 5.387 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.0007952/0.3439, allocations: 0.8302 MB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.3441, allocations: 91.84 kB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3442, allocations: 0 / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.3442, allocations: 39.98 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3446, allocations: 52.22 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.001986/0.3466, allocations: 1.847 MB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3469, allocations: 0.7202 MB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.347, allocations: 25.53 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.3471, allocations: 51.41 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3471, allocations: 4 kB / 1.232 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.291/2.639, allocations: 5.102 MB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/16.23, allocations: 7.859 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 & /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