Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007951/0.0007951, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007769/0.0007769, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8913/0.8913, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.9 MB / 0.6229 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9821 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.595e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002397/0.002423, allocations: 1.772 MB / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.003315, allocations: 0.5926 MB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.003391, allocations: 3.938 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.003585, allocations: 35.61 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.003907, allocations: 119.4 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.004178, allocations: 150.5 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.004433, allocations: 235.4 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.004562, allocations: 25.8 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.004694, allocations: 139.7 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.007086, allocations: 0.7907 MB / 0.9859 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.007122, allocations: 16 kB / 0.9859 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.007191, allocations: 32 kB / 0.986 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.007252, allocations: 39.83 kB / 0.986 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.007324, allocations: 63.81 kB / 0.9861 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.007624, allocations: 235.2 kB / 0.9863 GB, free: 14.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.007626, allocations: 0 / 0.9863 GB, free: 14.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007627, allocations: 7.875 kB / 0.9863 GB, free: 14.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.007631, allocations: 4 kB / 0.9863 GB, free: 14.03 MB / 0.948 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.0005929/0.008224, allocations: 480.9 kB / 0.9868 GB, free: 13.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.008261, allocations: 8.031 kB / 0.9868 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.008319, allocations: 24.8 kB / 0.9868 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.008535, allocations: 182.8 kB / 0.987 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.00855, allocations: 12.56 kB / 0.987 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.008575, allocations: 19.94 kB / 0.987 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.008729, allocations: 93.64 kB / 0.9871 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.008737, allocations: 4 kB / 0.9871 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.008751, allocations: 4 kB / 0.9871 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.008756, allocations: 4 kB / 0.9871 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.008845, allocations: 55.84 kB / 0.9871 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.009394, allocations: 380.4 kB / 0.9875 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.009513, allocations: 74.48 kB / 0.9876 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.009548, allocations: 33.06 kB / 0.9876 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.00957, allocations: 7.938 kB / 0.9876 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.0097, allocations: 91.33 kB / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.009702, allocations: 0 / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0002471/0.009949, allocations: 145.5 kB / 0.9878 GB, free: 12.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.009984, allocations: 63.41 kB / 0.9879 GB, free: 12.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.01012, allocations: 188.5 kB / 0.9881 GB, free: 12.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.01015, allocations: 33.7 kB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.01022, allocations: 120.5 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.01024, allocations: 43.67 kB / 0.9883 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.0103, allocations: 57.69 kB / 0.9883 GB, free: 11.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01042, allocations: 330.8 kB / 0.9886 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.01047, allocations: 31.98 kB / 0.9887 GB, free: 11.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.01066, allocations: 235.3 kB / 0.9889 GB, free: 11.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.01076, allocations: 97.02 kB / 0.989 GB, free: 11.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01076, allocations: 4 kB / 0.989 GB, free: 11.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001662/0.01093, allocations: 155.6 kB / 0.9891 GB, free: 10.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01094, allocations: 4 kB / 0.9891 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01094, allocations: 0 / 0.9891 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01096, allocations: 4 kB / 0.9891 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.01103, allocations: 12 kB / 0.9892 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01103, allocations: 7.938 kB / 0.9892 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.01113, allocations: 27.81 kB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.01114, allocations: 8 kB / 0.9892 GB, free: 10.79 MB / 0.948 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 9.265e-05/0.01124, allocations: 145.7 kB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.01125, allocations: 15.91 kB / 0.9894 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01141, allocations: 131 kB / 0.9895 GB, free: 10.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01141, allocations: 0 / 0.9895 GB, free: 10.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01142, allocations: 4 kB / 0.9895 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01142, allocations: 0 / 0.9895 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.01175, allocations: 385.9 kB / 0.9899 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01175, allocations: 0 / 0.9899 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.01177, allocations: 11.98 kB / 0.9899 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01178, allocations: 8 kB / 0.9899 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.01179, allocations: 3.938 kB / 0.9899 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01179, allocations: 0 / 0.9899 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01179, allocations: 0 / 0.9899 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01193, allocations: 222.6 kB / 0.9901 GB, free: 9.816 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.01196, allocations: 27.83 kB / 0.9901 GB, free: 9.789 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01198, allocations: 3.938 kB / 0.9901 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.01203, allocations: 15.98 kB / 0.9901 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.01209, allocations: 15.98 kB / 0.9901 GB, free: 9.754 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.01215, allocations: 7.984 kB / 0.9902 GB, free: 9.746 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.01223, allocations: 136.3 kB / 0.9903 GB, free: 9.613 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01223, allocations: 4 kB / 0.9903 GB, free: 9.609 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002025/0.01243, allocations: 39.98 kB / 0.9903 GB, free: 9.57 MB / 0.948 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.0002612/0.01269, allocations: 168.6 kB / 0.9905 GB, free: 9.418 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.01285, allocations: 91.83 kB / 0.9906 GB, free: 9.328 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01285, allocations: 0 / 0.9906 GB, free: 9.328 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.01291, allocations: 39.98 kB / 0.9906 GB, free: 9.289 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.01317, allocations: 51.75 kB / 0.9907 GB, free: 9.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.01364, allocations: 331.7 kB / 0.991 GB, free: 8.891 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.01372, allocations: 107.6 kB / 0.9911 GB, free: 8.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.01376, allocations: 28.48 kB / 0.9911 GB, free: 8.742 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.01376, allocations: 0 / 0.9911 GB, free: 8.742 MB / 0.948 GB Notification: Performance of Templates: time 0.003826/0.01758, allocations: 3.081 MB / 0.9941 GB, free: 5.676 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.7299526473507285]