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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.379/3.379, allocations: 429.4 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.632e-05, allocations: 3.906 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003482/0.003508, allocations: 1.795 MB / 0.8792 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004802, allocations: 0.6006 MB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.004866, allocations: 4 kB / 0.8798 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.005046, allocations: 27.66 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.00543, allocations: 124.6 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.00578, allocations: 147.6 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.006099, allocations: 238.6 kB / 0.8803 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.006217, allocations: 25.8 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.006423, allocations: 135.7 kB / 0.8804 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008715/0.01514, allocations: 1.228 MB / 0.8816 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.01522, allocations: 20.5 kB / 0.8816 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.01534, allocations: 37.23 kB / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.01542, allocations: 39.83 kB / 0.8817 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.01553, allocations: 63.81 kB / 0.8818 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.01599, allocations: 240.6 kB / 0.882 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.01599, allocations: 4 kB / 0.882 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01599, allocations: 0 / 0.882 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.016, allocations: 0 / 0.882 GB, free: 2.465 MB / 0.8386 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.0009568/0.01696, allocations: 0.5706 MB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01699, allocations: 8.031 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.0171, allocations: 32.84 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.01741, allocations: 185.1 kB / 0.8828 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.01743, allocations: 8.562 kB / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.01747, allocations: 19.94 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.01767, allocations: 89.64 kB / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.01768, allocations: 0 / 0.8829 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.01769, allocations: 7.984 kB / 0.8829 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.0177, allocations: 4 kB / 0.8829 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.01782, allocations: 51.91 kB / 0.883 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009182/0.01874, allocations: 451.5 kB / 0.8834 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.01892, allocations: 90.91 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.01898, allocations: 31.67 kB / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.01901, allocations: 0 / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.01918, allocations: 93.03 kB / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.01918, allocations: 0 / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003512/0.01953, allocations: 149.5 kB / 0.8837 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.01959, allocations: 59.41 kB / 0.8838 GB, free: 484 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.01987, allocations: 272.5 kB / 0.884 GB, free: 196 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.01991, allocations: 33.7 kB / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.02007, allocations: 175.2 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.02011, allocations: 35.73 kB / 0.8843 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.02022, allocations: 63.34 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002893/0.02051, allocations: 0.5157 MB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.02058, allocations: 20 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.02096, allocations: 273.1 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.02114, allocations: 120.8 kB / 0.8852 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02114, allocations: 4 kB / 0.8852 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002835/0.02142, allocations: 145.4 kB / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.02144, allocations: 8 kB / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02145, allocations: 0 / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.02146, allocations: 4.156 kB / 0.8854 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.02159, allocations: 23.94 kB / 0.8854 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.0216, allocations: 7.984 kB / 0.8854 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.02179, allocations: 23.83 kB / 0.8854 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.0218, allocations: 4 kB / 0.8855 GB, free: 14.63 MB / 0.8542 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.0001899/0.02199, allocations: 180.6 kB / 0.8856 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.02203, allocations: 20.12 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.0223, allocations: 127.1 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0223, allocations: 3.938 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02231, allocations: 4 kB / 0.8858 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.02231, allocations: 7.984 kB / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.02302, allocations: 451.9 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.02302, allocations: 0 / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.02307, allocations: 16 kB / 0.8862 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.02307, allocations: 0 / 0.8862 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.02309, allocations: 3.938 kB / 0.8862 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.02309, allocations: 0 / 0.8862 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.02309, allocations: 0 / 0.8862 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.02344, allocations: 279.7 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.0235, allocations: 23.89 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.02353, allocations: 11.94 kB / 0.8865 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.02364, allocations: 12.03 kB / 0.8865 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.02372, allocations: 19.95 kB / 0.8866 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.02376, allocations: 8 kB / 0.8866 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001846/0.02394, allocations: 184.2 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02394, allocations: 0 / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003214/0.02427, allocations: 43.94 kB / 0.8868 GB, free: 13.19 MB / 0.8542 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.0006206/0.02489, allocations: 155.4 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.02517, allocations: 103.7 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.02518, allocations: 4 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.02529, allocations: 55.59 kB / 0.8871 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.02574, allocations: 54.78 kB / 0.8871 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.02658, allocations: 301.8 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.02672, allocations: 115.6 kB / 0.8875 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.222e-05/0.02681, allocations: 25.45 kB / 0.8876 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.02688, allocations: 28.48 kB / 0.8876 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.02688, allocations: 0 / 0.8876 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.008836/0.03571, allocations: 3.548 MB / 0.8911 GB, free: 8.836 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.556312459986657]