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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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_latest_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_latest_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.001065/0.001065, allocations: 115.6 kB / 16.37 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.00108/0.00108, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 69.11 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2995, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003505/0.3031, allocations: 1.791 MB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3043, allocations: 0.5928 MB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.3044, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3046, allocations: 39.66 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.305, allocations: 119.4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3053, allocations: 143.7 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.3056, allocations: 227.4 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3057, allocations: 41.55 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3059, allocations: 103.7 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.3104, allocations: 0.7948 MB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.862e-05/0.3104, allocations: 16 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3106, allocations: 47.91 kB / 1.031 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.3107, allocations: 35.84 kB / 1.031 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.3108, allocations: 87.56 kB / 1.031 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.3112, allocations: 211.3 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3112, allocations: 4 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3112, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3113, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 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.000992/0.3123, allocations: 0.5334 MB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3123, allocations: 12.03 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.3124, allocations: 20.75 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.3128, allocations: 241.1 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3128, allocations: 16 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.3129, allocations: 12 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.3131, allocations: 93.66 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3131, allocations: 0 / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.3132, allocations: 7.984 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3132, allocations: 7.938 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3133, allocations: 53.41 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.3142, allocations: 476.3 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3144, allocations: 70.56 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.3145, allocations: 40.78 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3145, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.3147, allocations: 103.2 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.3147, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0003504/0.3151, allocations: 149.6 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.3152, allocations: 55.41 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.3154, allocations: 192.2 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.3154, allocations: 33.69 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3156, allocations: 132.3 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.3156, allocations: 27.56 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.3157, allocations: 57.67 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3158, allocations: 326.8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.3159, allocations: 31.98 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3161, allocations: 128.5 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3163, allocations: 104.1 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3163, allocations: 0 / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002386/0.3165, allocations: 149.5 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3166, allocations: 11.94 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3166, allocations: 0 / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3166, allocations: 11.92 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.271e-05/0.3167, allocations: 16 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3167, allocations: 4.219 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3169, allocations: 19.83 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3169, allocations: 11.94 kB / 1.034 GB, free: 10.63 MB / 0.8106 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.0001283/0.317, allocations: 137.7 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3171, allocations: 19.81 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.3173, allocations: 131.1 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3173, allocations: 0 / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3173, allocations: 0 / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3173, allocations: 3.984 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.3179, allocations: 456.8 kB / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3179, allocations: 3.984 kB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.3179, allocations: 8 kB / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3179, allocations: 4 kB / 1.035 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3179, allocations: 4 kB / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.3179, allocations: 4 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3179, allocations: 0 / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.3182, allocations: 215.3 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.3182, allocations: 104.8 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3183, allocations: 4 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3184, allocations: 15.98 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.3184, allocations: 15.92 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.3185, allocations: 12 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001213/0.3186, allocations: 140.3 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3186, allocations: 0 / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002986/0.3189, allocations: 39.98 kB / 1.035 GB, free: 9.234 MB / 0.8106 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.0003704/0.3193, allocations: 162 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3195, allocations: 96.08 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3195, allocations: 4.062 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.3196, allocations: 47.92 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.32, allocations: 49 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.3206, allocations: 298.8 kB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3209, allocations: 0.7241 MB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.37e-05/0.321, allocations: 25.47 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3211, allocations: 23.38 kB / 1.037 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3211, allocations: 0 / 1.037 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of Templates: time 0.006892/0.328, allocations: 3.298 MB / 1.04 GB, free: 4.527 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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 & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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