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: 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.0008083/0.0008083, allocations: 98.72 kB / 16.02 MB, free: 76 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.0009182/0.0009182, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.767/1.767, allocations: 223.3 MB / 241 MB, free: 5.324 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.472/2.472, allocations: 390.9 MB / 0.667 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004304, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7752, allocations: 142.4 MB / 0.9557 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002027/0.7773, allocations: 1.578 MB / 0.9572 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.7783, allocations: 0.6385 MB / 0.9579 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.7784, allocations: 5.406 kB / 0.9579 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.7786, allocations: 20.81 kB / 0.9579 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.7788, allocations: 87.98 kB / 0.958 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.7791, allocations: 145.3 kB / 0.9581 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.7794, allocations: 212.2 kB / 0.9583 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.7795, allocations: 35.78 kB / 0.9583 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.7796, allocations: 92.33 kB / 0.9584 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03556/0.8152, allocations: 2.426 MB / 0.9608 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.299e-05/0.8153, allocations: 7.969 kB / 0.9608 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.8155, allocations: 21.22 kB / 0.9608 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.8155, allocations: 32.06 kB / 0.9609 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.8157, allocations: 106.1 kB / 0.961 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.816, allocations: 143 kB / 0.9611 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.816, allocations: 0 / 0.9611 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.816, allocations: 8.938 kB / 0.9611 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.816, allocations: 0 / 0.9611 GB, free: 4.668 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.0007181/0.8167, allocations: 499.9 kB / 0.9616 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8168, allocations: 10.03 kB / 0.9616 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.8169, allocations: 19.5 kB / 0.9616 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.8171, allocations: 253.9 kB / 0.9619 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.8172, allocations: 11.44 kB / 0.9619 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.8172, allocations: 13.84 kB / 0.9619 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.8174, allocations: 95.67 kB / 0.962 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8174, allocations: 1.312 kB / 0.962 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.8175, allocations: 4 kB / 0.962 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.8175, allocations: 6.688 kB / 0.962 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.8176, allocations: 53.25 kB / 0.962 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/0.8184, allocations: 487.8 kB / 0.9625 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.8186, allocations: 77.89 kB / 0.9626 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.8187, allocations: 32.45 kB / 0.9626 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.8187, allocations: 8.922 kB / 0.9626 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.8188, allocations: 94.47 kB / 0.9627 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.8189, allocations: 0 / 0.9627 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003201/0.8192, allocations: 150.8 kB / 0.9628 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.8192, allocations: 57.5 kB / 0.9629 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.8194, allocations: 192.2 kB / 0.9631 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.8194, allocations: 34.14 kB / 0.9631 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.8195, allocations: 116.9 kB / 0.9632 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.8196, allocations: 41.09 kB / 0.9633 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.8196, allocations: 24.84 kB / 0.9633 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.8197, allocations: 327.2 kB / 0.9636 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.8197, allocations: 32.92 kB / 0.9636 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.8199, allocations: 124.8 kB / 0.9637 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.8201, allocations: 111.5 kB / 0.9639 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8201, allocations: 1.031 kB / 0.9639 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002376/0.8203, allocations: 149 kB / 0.964 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8204, allocations: 5.375 kB / 0.964 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8204, allocations: 2.281 kB / 0.964 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.8204, allocations: 6.344 kB / 0.964 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.8205, allocations: 20.77 kB / 0.964 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8205, allocations: 2.062 kB / 0.964 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.8207, allocations: 32.81 kB / 0.9641 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8207, allocations: 4.641 kB / 0.9641 GB, free: 2.035 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.0001099/0.8209, allocations: 142.2 kB / 0.9642 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.8209, allocations: 15.94 kB / 0.9642 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.8211, allocations: 140.2 kB / 0.9644 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8211, allocations: 1.125 kB / 0.9644 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8211, allocations: 1.281 kB / 0.9644 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8211, allocations: 0 / 0.9644 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.8216, allocations: 467.6 kB / 0.9648 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8216, allocations: 0 / 0.9648 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.8217, allocations: 11.41 kB / 0.9648 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.8217, allocations: 0 / 0.9648 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8217, allocations: 3.984 kB / 0.9648 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8217, allocations: 3.75 kB / 0.9648 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8217, allocations: 0 / 0.9648 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.8219, allocations: 219.8 kB / 0.965 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.8219, allocations: 105.2 kB / 0.9651 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.822, allocations: 0 / 0.9651 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.8221, allocations: 13.41 kB / 0.9651 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.8222, allocations: 17.12 kB / 0.9652 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.8222, allocations: 4.531 kB / 0.9652 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000104/0.8223, allocations: 138 kB / 0.9653 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8223, allocations: 0 / 0.9653 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003275/0.8226, allocations: 49.16 kB / 0.9653 GB, free: 0.9531 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.0003365/0.823, allocations: 176.3 kB / 0.9655 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.8232, allocations: 91.94 kB / 0.9656 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8232, allocations: 0 / 0.9656 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.8233, allocations: 44.16 kB / 0.9656 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.8237, allocations: 49.62 kB / 0.9657 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.8244, allocations: 373.6 kB / 0.966 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.8246, allocations: 0.7243 MB / 0.9668 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.8247, allocations: 22.16 kB / 0.9668 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8247, allocations: 1.188 kB / 0.9668 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.00687/0.8316, allocations: 2.994 MB / 0.9697 GB, free: 14.17 MB / 0.7325 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