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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007065/0.0007065, allocations: 90.52 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.003979/0.003979, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5615, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.001687/0.5633, allocations: 1.574 MB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.5642, allocations: 0.6431 MB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.5642, allocations: 6.719 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.5644, allocations: 18.47 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.5646, allocations: 88.36 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.5649, allocations: 142.4 kB / 0.9576 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.5651, allocations: 211 kB / 0.9578 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.5652, allocations: 48.42 kB / 0.9578 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.5653, allocations: 88.36 kB / 0.9579 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03306/0.5984, allocations: 2.423 MB / 0.9603 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.5985, allocations: 9.156 kB / 0.9603 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.5986, allocations: 28.91 kB / 0.9603 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.5987, allocations: 32.75 kB / 0.9603 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.5988, allocations: 101.1 kB / 0.9604 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.599, allocations: 196.5 kB / 0.9606 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.599, allocations: 0 / 0.9606 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.599, allocations: 1 kB / 0.9606 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5991, allocations: 0 / 0.9606 GB, free: 4.418 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.0006191/0.5997, allocations: 0.5044 MB / 0.9611 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5997, allocations: 9.781 kB / 0.9611 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.5998, allocations: 45.39 kB / 0.9612 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.5998, allocations: 19.72 kB / 0.9612 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.6001, allocations: 241.9 kB / 0.9614 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6001, allocations: 15.48 kB / 0.9614 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.6001, allocations: 13.81 kB / 0.9614 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.6003, allocations: 91.81 kB / 0.9615 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6003, allocations: 8 kB / 0.9615 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6004, allocations: 5.344 kB / 0.9615 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.6004, allocations: 6.281 kB / 0.9615 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.6005, allocations: 53.41 kB / 0.9616 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.6012, allocations: 479.4 kB / 0.962 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.6013, allocations: 87.12 kB / 0.9621 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.6014, allocations: 30.81 kB / 0.9622 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.6014, allocations: 6.531 kB / 0.9622 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.6015, allocations: 96.33 kB / 0.9623 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.6016, allocations: 1 kB / 0.9623 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0002811/0.6018, allocations: 151.3 kB / 0.9624 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.6019, allocations: 57.45 kB / 0.9625 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.602, allocations: 189.3 kB / 0.9626 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.6021, allocations: 32.7 kB / 0.9627 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.6021, allocations: 121.9 kB / 0.9628 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.6022, allocations: 40.23 kB / 0.9628 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.6022, allocations: 29.02 kB / 0.9629 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.6023, allocations: 326.8 kB / 0.9632 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.6023, allocations: 29.8 kB / 0.9632 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.6025, allocations: 132.9 kB / 0.9633 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.6026, allocations: 103.6 kB / 0.9634 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6027, allocations: 0 / 0.9634 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000209/0.6029, allocations: 147.5 kB / 0.9636 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6029, allocations: 5.812 kB / 0.9636 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.6029, allocations: 5.281 kB / 0.9636 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6029, allocations: 2.438 kB / 0.9636 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-05/0.603, allocations: 17.89 kB / 0.9636 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.603, allocations: 1.156 kB / 0.9636 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.6032, allocations: 36.58 kB / 0.9636 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.6032, allocations: 5.625 kB / 0.9636 GB, free: 1.727 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 9.795e-05/0.6033, allocations: 133.9 kB / 0.9638 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.6034, allocations: 20.08 kB / 0.9638 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.6036, allocations: 132.5 kB / 0.9639 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6036, allocations: 1.031 kB / 0.9639 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6036, allocations: 0 / 0.9639 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6036, allocations: 1.406 kB / 0.9639 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.604, allocations: 473.6 kB / 0.9644 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.604, allocations: 0 / 0.9644 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.6043, allocations: 10.8 kB / 0.9644 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6043, allocations: 0 / 0.9644 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.6043, allocations: 0 / 0.9644 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6043, allocations: 0 / 0.9644 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.6043, allocations: 1.656 kB / 0.9644 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.6044, allocations: 226.7 kB / 0.9646 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.6045, allocations: 106.2 kB / 0.9647 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.6045, allocations: 0 / 0.9647 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.6046, allocations: 12.98 kB / 0.9647 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.6047, allocations: 11.33 kB / 0.9647 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.6047, allocations: 18.89 kB / 0.9647 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.6048, allocations: 137.1 kB / 0.9649 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6048, allocations: 0 / 0.9649 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003034/0.6051, allocations: 51.33 kB / 0.9649 GB, free: 0.6367 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.0005617/0.6057, allocations: 0.8137 MB / 0.9657 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.6059, allocations: 95.89 kB / 0.9658 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6059, allocations: 0.9688 kB / 0.9658 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.606, allocations: 43.17 kB / 0.9658 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.6064, allocations: 45.08 kB / 0.9659 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.6084, allocations: 1.883 MB / 0.9677 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6087, allocations: 0.7202 MB / 0.9684 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.6088, allocations: 26.72 kB / 0.9684 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.6089, allocations: 55.34 kB / 0.9685 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.6089, allocations: 0 / 0.9685 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.6257, allocations: 4.651 MB / 0.973 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.6259, allocations: 240.5 kB / 0.9733 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.307, allocations: 0 / 0.9733 GB, free: 10.91 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