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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 104.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.258/3.258, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 62.41 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4485, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003477/0.4519, allocations: 1.778 MB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.4532, allocations: 0.6044 MB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.4533, allocations: 7.938 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.4535, allocations: 27.72 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.4539, allocations: 119.5 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.4543, allocations: 155.2 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.4546, allocations: 231.5 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.4548, allocations: 29.83 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.4549, allocations: 103.7 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006074/0.461, allocations: 0.8075 MB / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.12e-05/0.461, allocations: 16 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4612, allocations: 39.92 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.4612, allocations: 39.89 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.4614, allocations: 79.58 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.4618, allocations: 219.1 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4618, allocations: 0 / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4618, allocations: 0 / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.4618, allocations: 0 / 1.308 GB, free: 13.47 MB / 1.014 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.0009122/0.4627, allocations: 0.5488 MB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4628, allocations: 8.625 kB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.4628, allocations: 42.73 kB / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.4629, allocations: 20.84 kB / 1.309 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.4633, allocations: 248.3 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4633, allocations: 8 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4633, allocations: 20 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4636, allocations: 93.66 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4636, allocations: 0 / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4636, allocations: 3.984 kB / 1.309 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.4636, allocations: 7.938 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.4637, allocations: 55.91 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009374/0.4647, allocations: 472.4 kB / 1.31 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4648, allocations: 66.55 kB / 1.31 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.4649, allocations: 32.84 kB / 1.31 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4649, allocations: 0 / 1.31 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.4651, allocations: 91.38 kB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4651, allocations: 4 kB / 1.31 GB, free: 11.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0003492/0.4655, allocations: 149.6 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.4655, allocations: 63.39 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.4658, allocations: 200.2 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.4658, allocations: 29.7 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4659, allocations: 124.5 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.4659, allocations: 39.73 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.466, allocations: 53.67 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4662, allocations: 330.8 kB / 1.311 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.4663, allocations: 27.98 kB / 1.311 GB, free: 10.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4665, allocations: 130 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.4667, allocations: 106.3 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4667, allocations: 0 / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002599/0.4669, allocations: 152.1 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.467, allocations: 6.344 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.467, allocations: 11.94 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.467, allocations: 0 / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4671, allocations: 27.92 kB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4671, allocations: 0 / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.4673, allocations: 23.92 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4673, allocations: 4 kB / 1.311 GB, free: 10.03 MB / 1.014 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.0001462/0.4674, allocations: 137.6 kB / 1.311 GB, free: 9.887 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.4675, allocations: 19.86 kB / 1.311 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.4677, allocations: 139 kB / 1.311 GB, free: 9.723 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.4677, allocations: 4 kB / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4677, allocations: 0 / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4678, allocations: 0 / 1.311 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.4683, allocations: 458.2 kB / 1.312 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4683, allocations: 0 / 1.312 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.4684, allocations: 11.98 kB / 1.312 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4684, allocations: 0 / 1.312 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4684, allocations: 4 kB / 1.312 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4684, allocations: 0 / 1.312 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4684, allocations: 0 / 1.312 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4686, allocations: 230.4 kB / 1.312 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.4687, allocations: 101 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.4687, allocations: 0 / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.4688, allocations: 7.984 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4689, allocations: 15.98 kB / 1.312 GB, free: 8.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.4689, allocations: 8 kB / 1.312 GB, free: 8.812 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001318/0.4691, allocations: 143.1 kB / 1.312 GB, free: 8.672 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4691, allocations: 0 / 1.312 GB, free: 8.672 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003013/0.4694, allocations: 43.89 kB / 1.312 GB, free: 8.629 MB / 1.014 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.001018/0.4704, allocations: 0.8236 MB / 1.313 GB, free: 7.801 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4707, allocations: 87.91 kB / 1.313 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4707, allocations: 0 / 1.313 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.4707, allocations: 42.8 kB / 1.313 GB, free: 7.676 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.4712, allocations: 54.97 kB / 1.313 GB, free: 7.625 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.4737, allocations: 1.84 MB / 1.315 GB, free: 5.668 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.4741, allocations: 0.7241 MB / 1.316 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.202e-05/0.4742, allocations: 21.55 kB / 1.316 GB, free: 4.898 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.4743, allocations: 51.41 kB / 1.316 GB, free: 4.848 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.4743, allocations: 0 / 1.316 GB, free: 4.848 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.5043, allocations: 5.127 MB / 1.321 GB, free: 15.85 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.986, allocations: 18.05 kB / 1.321 GB, free: 15.83 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.772167849820107]