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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.291/2.291, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6968, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003332/0.7002, allocations: 1.767 MB / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.7013, allocations: 0.6064 MB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.7014, allocations: 5.438 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.7016, allocations: 21.05 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.702, allocations: 118.4 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.7024, allocations: 151 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.7026, allocations: 217.2 kB / 0.9525 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.7028, allocations: 46.41 kB / 0.9526 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.7029, allocations: 114.7 kB / 0.9527 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004437/0.7073, allocations: 0.784 MB / 0.9534 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.7074, allocations: 17.34 kB / 0.9535 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.7076, allocations: 34.72 kB / 0.9535 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.7076, allocations: 39.64 kB / 0.9535 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.7078, allocations: 89.48 kB / 0.9536 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.7081, allocations: 209.6 kB / 0.9538 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7081, allocations: 5.094 kB / 0.9538 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7081, allocations: 0 / 0.9538 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.7082, allocations: 0 / 0.9538 GB, free: 6.312 MB / 0.7169 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.0008236/0.709, allocations: 0.532 MB / 0.9543 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.709, allocations: 10.34 kB / 0.9543 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.7091, allocations: 38.31 kB / 0.9544 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.7092, allocations: 27.16 kB / 0.9544 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.7095, allocations: 249.7 kB / 0.9546 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.7095, allocations: 10.66 kB / 0.9547 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.7095, allocations: 15.31 kB / 0.9547 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.7097, allocations: 94.58 kB / 0.9548 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.7097, allocations: 0.9688 kB / 0.9548 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.7098, allocations: 1 kB / 0.9548 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.7098, allocations: 6.094 kB / 0.9548 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.7099, allocations: 57.25 kB / 0.9548 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.7108, allocations: 482.5 kB / 0.9553 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.711, allocations: 79.02 kB / 0.9554 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.711, allocations: 30.67 kB / 0.9554 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.711, allocations: 5.203 kB / 0.9554 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.7112, allocations: 96.12 kB / 0.9555 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.7112, allocations: 0 / 0.9555 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003094/0.7116, allocations: 155.5 kB / 0.9556 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.7116, allocations: 55.31 kB / 0.9557 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.7118, allocations: 190.6 kB / 0.9559 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.7118, allocations: 33.42 kB / 0.9559 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.7119, allocations: 117.4 kB / 0.956 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.7119, allocations: 41 kB / 0.956 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.712, allocations: 51.91 kB / 0.9561 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.7121, allocations: 330.5 kB / 0.9564 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.7122, allocations: 28.64 kB / 0.9564 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.7124, allocations: 131.4 kB / 0.9566 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.7125, allocations: 103.9 kB / 0.9567 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7125, allocations: 1.812 kB / 0.9567 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002317/0.7128, allocations: 148.8 kB / 0.9568 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7128, allocations: 5.5 kB / 0.9568 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7128, allocations: 5.312 kB / 0.9568 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.7128, allocations: 1.375 kB / 0.9568 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.7129, allocations: 17.69 kB / 0.9568 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7129, allocations: 6.734 kB / 0.9568 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7131, allocations: 25.62 kB / 0.9569 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.7132, allocations: 5.5 kB / 0.9569 GB, free: 3.594 MB / 0.7169 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.0001156/0.7133, allocations: 134.2 kB / 0.957 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.7133, allocations: 14.69 kB / 0.957 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.7135, allocations: 135.4 kB / 0.9571 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7135, allocations: 2.781 kB / 0.9571 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7136, allocations: 0 / 0.9571 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7136, allocations: 3.938 kB / 0.9571 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.7141, allocations: 468 kB / 0.9576 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.7141, allocations: 0 / 0.9576 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.7141, allocations: 4.75 kB / 0.9576 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7141, allocations: 1.281 kB / 0.9576 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.7142, allocations: 5.312 kB / 0.9576 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7142, allocations: 1.312 kB / 0.9576 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7142, allocations: 3.984 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.7144, allocations: 233.2 kB / 0.9578 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.7144, allocations: 96.44 kB / 0.9579 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.7145, allocations: 1.281 kB / 0.9579 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.7146, allocations: 8.328 kB / 0.9579 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.7146, allocations: 14.83 kB / 0.9579 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.7147, allocations: 9.172 kB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000111/0.7148, allocations: 150 kB / 0.9581 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7148, allocations: 4 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000324/0.7151, allocations: 43.81 kB / 0.9581 GB, free: 2.5 MB / 0.7169 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.0006116/0.7157, allocations: 0.8106 MB / 0.9589 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.716, allocations: 110.3 kB / 0.959 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.716, allocations: 320 / 0.959 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.7161, allocations: 43.45 kB / 0.9591 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.7165, allocations: 43.5 kB / 0.9591 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.7184, allocations: 1.849 MB / 0.9609 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.7188, allocations: 0.7193 MB / 0.9616 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.7189, allocations: 31.17 kB / 0.9617 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.719, allocations: 47.23 kB / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.719, allocations: 0 / 0.9617 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.7444, allocations: 5.036 MB / 0.9666 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.976, allocations: 10 kB / 0.9666 GB, free: 12.73 MB / 0.7325 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