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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005942/0.005941, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001455/0.001456, allocations: 194.7 kB / 16.67 MB, free: 5.926 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 68.11 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8473, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003633/0.851, allocations: 1.784 MB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.8523, allocations: 0.6044 MB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.8525, allocations: 4 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.8527, allocations: 27.67 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.8533, allocations: 119.4 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.8537, allocations: 146.7 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.8542, allocations: 223.5 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.8543, allocations: 45.52 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.8546, allocations: 107.7 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004976/0.8595, allocations: 0.8024 MB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.8596, allocations: 16 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.8598, allocations: 36 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.8599, allocations: 39.89 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.86, allocations: 87.5 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.8605, allocations: 219.3 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8605, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8605, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.8605, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 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.0009163/0.8614, allocations: 0.5335 MB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8615, allocations: 11.97 kB / 1.212 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.8615, allocations: 46.73 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.8616, allocations: 20.75 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.862, allocations: 248.2 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.862, allocations: 12 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.8621, allocations: 12 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.8623, allocations: 97.64 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8623, allocations: 0 / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.8623, allocations: 4 kB / 1.212 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.8624, allocations: 3.938 kB / 1.212 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.8625, allocations: 55.91 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.8634, allocations: 468.3 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.8636, allocations: 78.48 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.8637, allocations: 32.84 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.8637, allocations: 0 / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.8639, allocations: 99.36 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.8639, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0003534/0.8643, allocations: 157 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.8643, allocations: 55.41 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.8646, allocations: 198.3 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.8646, allocations: 25.7 kB / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.8647, allocations: 120.5 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.8648, allocations: 39.55 kB / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.8648, allocations: 53.67 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.865, allocations: 326.8 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.8651, allocations: 31.98 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.8653, allocations: 130.1 kB / 1.214 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.8655, allocations: 105 kB / 1.214 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8655, allocations: 0 / 1.214 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000259/0.8658, allocations: 149.4 kB / 1.214 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8658, allocations: 8 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8658, allocations: 3.938 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8658, allocations: 4 kB / 1.214 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.8659, allocations: 15.98 kB / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.866, allocations: 7.938 kB / 1.214 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.8662, allocations: 23.83 kB / 1.214 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.8662, allocations: 4 kB / 1.214 GB, free: 6.059 MB / 0.9356 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.8663, allocations: 137.8 kB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.8664, allocations: 15.81 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.8666, allocations: 142.2 kB / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.8666, allocations: 0 / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8666, allocations: 0 / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8666, allocations: 0 / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.8673, allocations: 462.2 kB / 1.215 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8673, allocations: 4 kB / 1.215 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.8673, allocations: 12 kB / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.8673, allocations: 0 / 1.215 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.8674, allocations: 7.984 kB / 1.215 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.8674, allocations: 4 kB / 1.215 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.8674, allocations: 3.984 kB / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.8676, allocations: 215.2 kB / 1.215 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.8677, allocations: 100.9 kB / 1.215 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.8678, allocations: 7.984 kB / 1.215 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.8679, allocations: 4 kB / 1.215 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.8679, allocations: 19.97 kB / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.868, allocations: 8 kB / 1.216 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001293/0.8681, allocations: 149.3 kB / 1.216 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.106e-06/0.8681, allocations: 0 / 1.216 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003147/0.8684, allocations: 47.78 kB / 1.216 GB, free: 4.641 MB / 0.9356 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.0007644/0.8692, allocations: 0.8167 MB / 1.217 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.8695, allocations: 91.91 kB / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8695, allocations: 0 / 1.217 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.8696, allocations: 43.92 kB / 1.217 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.87, allocations: 52.2 kB / 1.217 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.8721, allocations: 1.831 MB / 1.218 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.8724, allocations: 0.7202 MB / 1.219 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.8725, allocations: 29.52 kB / 1.219 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.8726, allocations: 47.41 kB / 1.219 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8727, allocations: 8 kB / 1.219 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.8976, allocations: 5.192 MB / 1.224 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.832, allocations: 0 / 1.224 GB, free: 11.81 MB / 0.9512 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