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.001887/0.001887, allocations: 88.72 kB / 19.44 MB, free: 356 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.002519/0.002519, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.216/3.216, allocations: 429.6 MB / 0.673 GB, free: 3.914 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 2.074e-06/2.074e-06, allocations: 0 / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.02e-05, allocations: 6.547 kB / 0.8775 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004237/0.004268, allocations: 1.781 MB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.005695, allocations: 0.5918 MB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.005806, allocations: 7.938 kB / 0.8799 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.006016, allocations: 27.66 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.006518, allocations: 124.4 kB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.007027, allocations: 151.6 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.007464, allocations: 228.1 kB / 0.8804 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.007607, allocations: 31.06 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.00787, allocations: 135.7 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007636/0.01551, allocations: 1.223 MB / 0.8817 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.271e-05/0.01559, allocations: 16 kB / 0.8817 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.01573, allocations: 36.53 kB / 0.8818 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.01581, allocations: 39.83 kB / 0.8818 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.01593, allocations: 64.92 kB / 0.8819 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.01643, allocations: 227.3 kB / 0.8821 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01643, allocations: 4 kB / 0.8821 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01643, allocations: 3.469 kB / 0.8821 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.01644, allocations: 0 / 0.8821 GB, free: 2.359 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.0009348/0.01738, allocations: 480.9 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.01742, allocations: 12.03 kB / 0.8826 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.01754, allocations: 28.78 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.01787, allocations: 182.3 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.01789, allocations: 16.5 kB / 0.8828 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.01794, allocations: 20.78 kB / 0.8828 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.01816, allocations: 89.66 kB / 0.8829 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.01817, allocations: 0.5938 kB / 0.8829 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.01819, allocations: 5.359 kB / 0.8829 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.01819, allocations: 4 kB / 0.8829 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.01833, allocations: 59.89 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000878/0.01921, allocations: 380.3 kB / 0.8833 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.01938, allocations: 74.55 kB / 0.8834 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.01944, allocations: 28.84 kB / 0.8834 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.01947, allocations: 4 kB / 0.8834 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.01965, allocations: 95.31 kB / 0.8835 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.01965, allocations: 0 / 0.8835 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003843/0.02004, allocations: 156.6 kB / 0.8837 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.02009, allocations: 59.39 kB / 0.8837 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.02033, allocations: 189.1 kB / 0.8839 GB, free: 368 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.02037, allocations: 29.7 kB / 0.8839 GB, free: 332 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.02049, allocations: 132.5 kB / 0.8841 GB, free: 196 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.02053, allocations: 31.75 kB / 0.8841 GB, free: 164 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.02064, allocations: 53.67 kB / 0.8841 GB, free: 104 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.02085, allocations: 330.8 kB / 0.8845 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.02092, allocations: 31.98 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.0213, allocations: 245 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.02149, allocations: 109.2 kB / 0.8848 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.0215, allocations: 0 / 0.8848 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003064/0.0218, allocations: 153.4 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.02182, allocations: 6.188 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02183, allocations: 4 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.02185, allocations: 4.156 kB / 0.885 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.02195, allocations: 15.98 kB / 0.885 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.02196, allocations: 4 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.02217, allocations: 27.81 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.02218, allocations: 8 kB / 0.885 GB, free: 15.1 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.000148/0.02233, allocations: 133.8 kB / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.02238, allocations: 19.91 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.02263, allocations: 134.3 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02263, allocations: 0 / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02264, allocations: 0 / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.02264, allocations: 4 kB / 0.8853 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.02329, allocations: 393.9 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.02329, allocations: 4 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.02334, allocations: 4 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.02334, allocations: 0 / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.02335, allocations: 7.938 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02335, allocations: 3.984 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02336, allocations: 0 / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.02363, allocations: 223.4 kB / 0.8859 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.02369, allocations: 27.89 kB / 0.886 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.02372, allocations: 7.875 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.02385, allocations: 11.98 kB / 0.886 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.02392, allocations: 15.97 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.02394, allocations: 8 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001542/0.0241, allocations: 140.3 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.0241, allocations: 0 / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003292/0.02443, allocations: 39.94 kB / 0.8862 GB, free: 13.88 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.0004543/0.02488, allocations: 163.5 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.02512, allocations: 95.95 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02512, allocations: 0 / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.02521, allocations: 39.92 kB / 0.8865 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.02564, allocations: 63.7 kB / 0.8865 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.02635, allocations: 296.2 kB / 0.8868 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.02648, allocations: 115.8 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.939e-05/0.02657, allocations: 21.47 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.02663, allocations: 20.5 kB / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of SimCode: time 5.72e-07/0.02663, allocations: 0 / 0.8869 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.008732/0.03537, allocations: 3.553 MB / 0.8904 GB, free: 9.559 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 800] 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.278488104930148]