Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001567/0.001567, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001555/0.001555, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.885/2.885, allocations: 469.8 MB / 0.7427 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.09 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003537/0.2992, allocations: 1.93 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3004, allocations: 0.6317 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.3005, allocations: 4 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.3007, allocations: 23.8 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.3011, allocations: 95.66 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.3014, allocations: 140.7 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3017, allocations: 227.4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3018, allocations: 37.53 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.302, allocations: 103.7 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.3137, allocations: 0.8052 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.3138, allocations: 16 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.314, allocations: 39.98 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3141, allocations: 43.83 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.3142, allocations: 83.58 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.3145, allocations: 139.7 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3145, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3145, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3145, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 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.0008404/0.3154, allocations: 0.549 MB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3154, allocations: 8.031 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.3155, allocations: 24.73 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3158, allocations: 236.5 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3158, allocations: 11.98 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.3159, allocations: 16 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3161, allocations: 97.58 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3161, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3161, allocations: 8 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3161, allocations: 7.938 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3163, allocations: 53.66 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.3171, allocations: 472.3 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3173, allocations: 78.55 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.3173, allocations: 37 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3174, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.3175, allocations: 104.7 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3176, allocations: 7.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003315/0.3179, allocations: 146.5 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.318, allocations: 55.41 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3182, allocations: 191.2 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3182, allocations: 33.7 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3183, allocations: 124.3 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3184, allocations: 39.53 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.3185, allocations: 53.69 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3186, allocations: 330.8 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.3187, allocations: 27.98 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3189, allocations: 126.2 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3191, allocations: 106.5 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3191, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002556/0.3194, allocations: 153.3 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3194, allocations: 4.156 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3194, allocations: 8 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3194, allocations: 3.938 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3195, allocations: 19.94 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3195, allocations: 3.984 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3197, allocations: 23.84 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3197, allocations: 4 kB / 1.071 GB, free: 7.066 MB / 0.8262 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.0001399/0.3199, allocations: 137.8 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.3199, allocations: 15.81 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.3202, allocations: 134.2 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3202, allocations: 4 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3202, allocations: 0 / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3202, allocations: 0 / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.3208, allocations: 462.2 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3209, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.3209, allocations: 11.94 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3209, allocations: 8.031 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3209, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3209, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3209, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3212, allocations: 215.3 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3213, allocations: 104.8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.3213, allocations: 4 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3214, allocations: 11.98 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.3215, allocations: 15.98 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3215, allocations: 7.984 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001272/0.3216, allocations: 135.2 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3216, allocations: 3.938 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000298/0.322, allocations: 44 kB / 1.073 GB, free: 5.676 MB / 0.8262 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.0003677/0.3223, allocations: 160.6 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3226, allocations: 97.16 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3226, allocations: 4.062 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.3227, allocations: 48.55 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3231, allocations: 58.45 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.3237, allocations: 376.5 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3241, allocations: 0.728 MB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.3242, allocations: 19.44 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of SimCode: time 2.064e-06/0.3242, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of Templates: time 0.005348/0.3295, allocations: 3.022 MB / 1.077 GB, free: 1.156 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches