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.001377/0.001377, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001549/0.001549, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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 2.881/2.881, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 3.757e-06/3.757e-06, allocations: 4 kB / 1 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.73e-05, allocations: 5.797 kB / 1 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003291/0.003319, allocations: 1.774 MB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004593, allocations: 0.5848 MB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.004686, allocations: 7.938 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.004873, allocations: 35.66 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.00527, allocations: 119.3 kB / 1.003 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.005677, allocations: 157 kB / 1.003 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.00601, allocations: 227.4 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.006137, allocations: 29.78 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.006372, allocations: 139.7 kB / 1.003 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006337/0.01271, allocations: 0.789 MB / 1.004 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.01278, allocations: 16 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.01289, allocations: 39.94 kB / 1.004 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.01297, allocations: 43.81 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.01309, allocations: 63.81 kB / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.0135, allocations: 223.3 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.0135, allocations: 3.938 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.173e-06/0.01351, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.01351, allocations: 4 kB / 1.004 GB, free: 3.312 MB / 0.9512 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.0008385/0.01435, allocations: 476.9 kB / 1.005 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.01439, allocations: 12.03 kB / 1.005 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.01447, allocations: 24.83 kB / 1.005 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01477, allocations: 178.4 kB / 1.005 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.01479, allocations: 12.5 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.01483, allocations: 19.92 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.01504, allocations: 93.66 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01505, allocations: 0 / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.01506, allocations: 11.92 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.01507, allocations: 0 / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.01519, allocations: 58.53 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.01605, allocations: 380.3 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.01622, allocations: 70.55 kB / 1.006 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.01628, allocations: 29.06 kB / 1.006 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.01631, allocations: 7.938 kB / 1.006 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.01651, allocations: 95.31 kB / 1.006 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.01652, allocations: 0 / 1.006 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0003555/0.01687, allocations: 145.6 kB / 1.006 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.01693, allocations: 59.39 kB / 1.006 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.01715, allocations: 199.8 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.0172, allocations: 33.7 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.0173, allocations: 124.5 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.01734, allocations: 31.73 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01744, allocations: 61.66 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.0176, allocations: 326.8 kB / 1.007 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.01767, allocations: 35.92 kB / 1.007 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.018, allocations: 235.3 kB / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.01816, allocations: 108 kB / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01816, allocations: 0 / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002764/0.01844, allocations: 149.4 kB / 1.007 GB, free: 140 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01845, allocations: 4 kB / 1.007 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.01846, allocations: 4.156 kB / 1.007 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.01848, allocations: 4 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01859, allocations: 19.92 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.0186, allocations: 4 kB / 1.007 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.0188, allocations: 27.81 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.01882, allocations: 8 kB / 1.007 GB, free: 68 kB / 0.9512 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.0001615/0.01898, allocations: 133.8 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.01901, allocations: 15.91 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.01927, allocations: 127.1 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01928, allocations: 4 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01928, allocations: 4 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01929, allocations: 0 / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.01986, allocations: 397.8 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01986, allocations: 0 / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.0199, allocations: 7.938 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.01991, allocations: 4 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01992, allocations: 11.88 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01992, allocations: 0 / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01992, allocations: 0 / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.02018, allocations: 214.4 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.02024, allocations: 31.92 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.02027, allocations: 3.938 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02038, allocations: 11.98 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.02045, allocations: 15.97 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.02047, allocations: 8 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001371/0.02061, allocations: 135.2 kB / 1.008 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.02061, allocations: 0 / 1.008 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003357/0.02094, allocations: 47.89 kB / 1.008 GB, free: 14.85 MB / 0.9669 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.0004072/0.02135, allocations: 156.5 kB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.0216, allocations: 87.91 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0216, allocations: 0 / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.02169, allocations: 43.91 kB / 1.009 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.02212, allocations: 63 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.02279, allocations: 290.2 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.0229, allocations: 115.7 kB / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.977e-05/0.02298, allocations: 21.47 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.02305, allocations: 24.48 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.02305, allocations: 0 / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of Templates: time 0.008197/0.03125, allocations: 3.515 MB / 1.012 GB, free: 10.57 MB / 0.9669 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.129444636404514]