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.001049/0.001049, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001086/0.001086, allocations: 169 kB / 23.27 MB, free: 1.219 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.043/1.043, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.58/2.58, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] 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.[0-9,]+.|sca1.y.[0-9,]+.",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.[0-9,]+.|sca1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.762e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002124/0.002142, allocations: 1.818 MB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007675/0.00291, allocations: 0.608 MB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.002971, allocations: 3.938 kB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.003117, allocations: 31.73 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.003373, allocations: 123.4 kB / 0.8922 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.003586, allocations: 143.6 kB / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.00378, allocations: 235.3 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.003868, allocations: 29.78 kB / 0.8926 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006121/0.009989, allocations: 2.376 MB / 0.8949 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.01011, allocations: 95.69 kB / 0.895 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.01014, allocations: 12 kB / 0.895 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.0102, allocations: 39.97 kB / 0.8951 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.01024, allocations: 39.83 kB / 0.8951 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.01029, allocations: 51.83 kB / 0.8952 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.01049, allocations: 175.3 kB / 0.8953 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01049, allocations: 0 / 0.8953 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.51e-07/0.01049, allocations: 0 / 0.8953 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.0105, allocations: 0 / 0.8953 GB, free: 4.91 MB / 0.8542 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.0004735/0.01097, allocations: 0.5615 MB / 0.8959 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.011, allocations: 12.62 kB / 0.8959 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.01105, allocations: 36.72 kB / 0.8959 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.01121, allocations: 194.2 kB / 0.8961 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.01122, allocations: 8.562 kB / 0.8961 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.01124, allocations: 15.94 kB / 0.8961 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.01133, allocations: 69.66 kB / 0.8962 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.01134, allocations: 0 / 0.8962 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.01135, allocations: 4 kB / 0.8962 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.01135, allocations: 4 kB / 0.8962 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.01139, allocations: 34.66 kB / 0.8962 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.01181, allocations: 392.2 kB / 0.8966 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.01189, allocations: 58.98 kB / 0.8967 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.01191, allocations: 19.67 kB / 0.8967 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.01193, allocations: 8 kB / 0.8967 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.949e-05/0.01201, allocations: 80.97 kB / 0.8968 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.01201, allocations: 4 kB / 0.8968 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0001689/0.01218, allocations: 125.5 kB / 0.8969 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.01221, allocations: 55.41 kB / 0.897 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.01232, allocations: 243.7 kB / 0.8972 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01234, allocations: 29.7 kB / 0.8972 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.0124, allocations: 167.3 kB / 0.8974 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.01243, allocations: 35.72 kB / 0.8974 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.01248, allocations: 67.27 kB / 0.8975 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.0126, allocations: 0.5 MB / 0.898 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.01262, allocations: 11.98 kB / 0.898 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01277, allocations: 256.2 kB / 0.8982 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.01285, allocations: 101.4 kB / 0.8983 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01285, allocations: 0 / 0.8983 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001209/0.01297, allocations: 121.5 kB / 0.8984 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01298, allocations: 8.156 kB / 0.8984 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01298, allocations: 4.047 kB / 0.8984 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.013, allocations: 7.984 kB / 0.8984 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.01306, allocations: 27.92 kB / 0.8985 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01306, allocations: 7.984 kB / 0.8985 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.01314, allocations: 19.88 kB / 0.8985 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.01315, allocations: 8 kB / 0.8985 GB, free: 1.355 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 7.612e-05/0.01322, allocations: 172.5 kB / 0.8987 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.01324, allocations: 23.91 kB / 0.8987 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.01335, allocations: 107.1 kB / 0.8988 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01336, allocations: 4 kB / 0.8988 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01336, allocations: 4 kB / 0.8988 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01336, allocations: 0 / 0.8988 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.01364, allocations: 401.7 kB / 0.8992 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01364, allocations: 4 kB / 0.8992 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.01366, allocations: 4 kB / 0.8992 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01366, allocations: 0 / 0.8992 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.01367, allocations: 4 kB / 0.8992 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01367, allocations: 4 kB / 0.8992 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01367, allocations: 7.922 kB / 0.8992 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01379, allocations: 254.2 kB / 0.8995 GB, free: 320 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.01381, allocations: 23.89 kB / 0.8995 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.01383, allocations: 4 kB / 0.8995 GB, free: 292 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.726e-05/0.01387, allocations: 15.92 kB / 0.8995 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.01391, allocations: 11.97 kB / 0.8995 GB, free: 264 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01392, allocations: 8 kB / 0.8995 GB, free: 256 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.01398, allocations: 159.1 kB / 0.8997 GB, free: 96 kB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01398, allocations: 0 / 0.8997 GB, free: 96 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001806/0.01416, allocations: 43.94 kB / 0.8997 GB, free: 52 kB / 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.0002375/0.01439, allocations: 175.1 kB / 0.8999 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01451, allocations: 71.59 kB / 0.8999 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.01451, allocations: 0 / 0.8999 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.01455, allocations: 47.58 kB / 0.9 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.01477, allocations: 46.5 kB / 0.9 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.01513, allocations: 293.3 kB / 0.9003 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.01517, allocations: 72.3 kB / 0.9004 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.01521, allocations: 25.47 kB / 0.9004 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.01535, allocations: 142.1 kB / 0.9005 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.01535, allocations: 0 / 0.9005 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.005271/0.02062, allocations: 3.713 MB / 0.9042 GB, free: 11.49 MB / 0.8698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.699276678264141]