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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 110.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 489.2 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.002099/0.0021, allocations: 67.91 kB / 1.103 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003071/1.091, allocations: 1.773 MB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00111/1.093, allocations: 0.6005 MB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/1.093, allocations: 1.375 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001917/1.093, allocations: 27.92 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003635/1.093, allocations: 116.6 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/1.094, allocations: 153.7 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/1.094, allocations: 224.2 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/1.094, allocations: 38.36 kB / 1.265 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/1.094, allocations: 104.9 kB / 1.266 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006179/1.1, allocations: 0.7967 MB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/1.101, allocations: 20.73 kB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/1.101, allocations: 37.31 kB / 1.266 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/1.101, allocations: 45.45 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/1.101, allocations: 92.67 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/1.102, allocations: 207.8 kB / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/1.102, allocations: 0.6875 kB / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.427e-06/1.102, allocations: 0 / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.102, allocations: 3.938 kB / 1.267 GB, free: 5.668 MB / 0.9981 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.0009949/1.103, allocations: 0.54 MB / 1.267 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.103, allocations: 9.594 kB / 1.267 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/1.103, allocations: 23.69 kB / 1.267 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/1.103, allocations: 245.8 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/1.104, allocations: 10.38 kB / 1.267 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/1.104, allocations: 11.36 kB / 1.267 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/1.104, allocations: 98.69 kB / 1.268 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.104, allocations: 0.8438 kB / 1.268 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.104, allocations: 1.109 kB / 1.268 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.104, allocations: 6.375 kB / 1.268 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/1.104, allocations: 57.8 kB / 1.268 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/1.105, allocations: 485.9 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/1.105, allocations: 73.39 kB / 1.268 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/1.105, allocations: 30.73 kB / 1.268 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/1.105, allocations: 2.266 kB / 1.268 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/1.105, allocations: 102.7 kB / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/1.105, allocations: 0 / 1.268 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003528/1.106, allocations: 143.7 kB / 1.268 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.106, allocations: 62.92 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/1.106, allocations: 195.1 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.106, allocations: 32.92 kB / 1.269 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/1.106, allocations: 131.5 kB / 1.269 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/1.106, allocations: 39.52 kB / 1.269 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.106, allocations: 53.33 kB / 1.269 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/1.106, allocations: 332.3 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/1.106, allocations: 28.41 kB / 1.269 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/1.107, allocations: 126.8 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/1.107, allocations: 101.6 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.107, allocations: 0.6875 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002414/1.107, allocations: 151.2 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.107, allocations: 8.266 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.107, allocations: 1.906 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.107, allocations: 5.969 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.107, allocations: 19.19 kB / 1.27 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.107, allocations: 2.312 kB / 1.27 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.107, allocations: 21.61 kB / 1.27 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/1.107, allocations: 9.188 kB / 1.27 GB, free: 3.254 MB / 0.9981 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.0001055/1.108, allocations: 148.6 kB / 1.27 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/1.108, allocations: 19.7 kB / 1.27 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/1.108, allocations: 133.8 kB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.108, allocations: 2.344 kB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.108, allocations: 0 / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.108, allocations: 1.516 kB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/1.108, allocations: 457.9 kB / 1.27 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.108, allocations: 0 / 1.27 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/1.108, allocations: 11.25 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.108, allocations: 1.375 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/1.108, allocations: 1.609 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.108, allocations: 0.9375 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.108, allocations: 1.531 kB / 1.27 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/1.109, allocations: 220.2 kB / 1.271 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/1.109, allocations: 103.8 kB / 1.271 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/1.109, allocations: 5.609 kB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.109, allocations: 10.97 kB / 1.271 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/1.109, allocations: 17.16 kB / 1.271 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/1.109, allocations: 6 kB / 1.271 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001174/1.109, allocations: 138.7 kB / 1.271 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.109, allocations: 3.938 kB / 1.271 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003938/1.11, allocations: 42.34 kB / 1.271 GB, free: 2.266 MB / 0.9981 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.000395/1.11, allocations: 168.7 kB / 1.271 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002333/1.11, allocations: 93.56 kB / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.11, allocations: 0 / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/1.11, allocations: 48.38 kB / 1.271 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/1.111, allocations: 50.39 kB / 1.271 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/1.111, allocations: 320.7 kB / 1.272 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/1.112, allocations: 0.7254 MB / 1.272 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/1.112, allocations: 22.45 kB / 1.272 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/1.112, allocations: 0 / 1.272 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of Templates: time 0.006213/1.118, allocations: 3.034 MB / 1.275 GB, free: 0.8008 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.137611930025741]