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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001199/0.001199, allocations: 189.5 kB / 17.35 MB, free: 5.738 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 / 241.1 MB, free: 15.09 MB / 206.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.513/2.513, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.096, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003337/1.1, allocations: 1.781 MB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00122/1.101, allocations: 0.5929 MB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/1.101, allocations: 1.125 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/1.101, allocations: 27.16 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004662/1.102, allocations: 126.4 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/1.102, allocations: 153.7 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003338/1.103, allocations: 225 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/1.103, allocations: 38.41 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/1.103, allocations: 103.5 kB / 1.092 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/1.108, allocations: 0.8031 MB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.063e-05/1.108, allocations: 17.28 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/1.108, allocations: 40.16 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/1.109, allocations: 48.88 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/1.109, allocations: 81.98 kB / 1.093 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/1.109, allocations: 212.5 kB / 1.093 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.109, allocations: 0.7812 kB / 1.093 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.534e-06/1.109, allocations: 0 / 1.093 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.109, allocations: 4.594 kB / 1.093 GB, free: 3.188 MB / 0.8575 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.00106/1.11, allocations: 0.5339 MB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/1.111, allocations: 8.812 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/1.111, allocations: 19.86 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/1.111, allocations: 248.4 kB / 1.094 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.111, allocations: 11.11 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/1.111, allocations: 10.81 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/1.111, allocations: 102.6 kB / 1.094 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.111, allocations: 0.5625 kB / 1.094 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/1.111, allocations: 2.828 kB / 1.094 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.111, allocations: 5.656 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/1.112, allocations: 53.16 kB / 1.094 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/1.113, allocations: 473.6 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/1.113, allocations: 78.3 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/1.113, allocations: 29.89 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/1.113, allocations: 6.422 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/1.113, allocations: 94.8 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/1.113, allocations: 4 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0004528/1.114, allocations: 147.7 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.114, allocations: 58.33 kB / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/1.114, allocations: 182.8 kB / 1.095 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/1.114, allocations: 33.66 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.114, allocations: 122.8 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/1.114, allocations: 38.92 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.114, allocations: 57.47 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/1.115, allocations: 329.2 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/1.115, allocations: 32.97 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.115, allocations: 121.2 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/1.115, allocations: 106.8 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.115, allocations: 0.875 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002777/1.115, allocations: 150 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.115, allocations: 7.109 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.115, allocations: 5.25 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.115, allocations: 10.72 kB / 1.096 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/1.115, allocations: 18.39 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.116, allocations: 3.312 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/1.116, allocations: 24.95 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/1.116, allocations: 4.719 kB / 1.096 GB, free: 0.8047 MB / 0.8575 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.0001201/1.116, allocations: 140.6 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/1.116, allocations: 17.08 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/1.116, allocations: 126 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/1.116, allocations: 9.234 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.116, allocations: 4.875 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/1.116, allocations: 103.9 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/1.116, allocations: 2.047 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/1.116, allocations: 6.953 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/1.116, allocations: 19.94 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002695/1.117, allocations: 194.3 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002558/1.117, allocations: 303.5 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.634e-05/1.117, allocations: 44.58 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001706/1.117, allocations: 136.1 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Backend: time 4.8e-07/1.117, allocations: 0 / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008191/1.118, allocations: 206.1 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009173/1.119, allocations: 0.7458 MB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.01067/1.13, allocations: 3.378 MB / 1.101 GB, free: 14.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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