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.0009983/0.0009983, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001015/0.001015, allocations: 173 kB / 23.5 MB, free: 1.059 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.086/2.086, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 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.723e-06/1.723e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.589e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00252/0.002546, allocations: 1.835 MB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.003456, allocations: 0.6034 MB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.003539, allocations: 5.062 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.003722, allocations: 27.78 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.004075, allocations: 122.7 kB / 0.8807 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.004408, allocations: 155.6 kB / 0.8808 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.004653, allocations: 227.4 kB / 0.881 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.004777, allocations: 26.08 kB / 0.8811 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.004932, allocations: 139.7 kB / 0.8812 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.008391, allocations: 1.228 MB / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.008435, allocations: 16 kB / 0.8824 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.008523, allocations: 39.94 kB / 0.8824 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.008584, allocations: 43.83 kB / 0.8825 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.008661, allocations: 59.81 kB / 0.8825 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.008979, allocations: 191.3 kB / 0.8827 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.008982, allocations: 0 / 0.8827 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008983, allocations: 0 / 0.8827 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.008988, allocations: 0 / 0.8827 GB, free: 2.457 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.0006471/0.009635, allocations: 0.5731 MB / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.009675, allocations: 8.031 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.009759, allocations: 36.8 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.01, allocations: 193.9 kB / 0.8835 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.01002, allocations: 4.562 kB / 0.8835 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.01004, allocations: 23.92 kB / 0.8835 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.01018, allocations: 81.59 kB / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.01019, allocations: 0 / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.0102, allocations: 4 kB / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01021, allocations: 0 / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.01028, allocations: 39.91 kB / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.01088, allocations: 427.6 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.011, allocations: 66.97 kB / 0.8841 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.01103, allocations: 27.67 kB / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.01105, allocations: 0 / 0.8842 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.01116, allocations: 88.97 kB / 0.8842 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.01117, allocations: 0 / 0.8842 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002489/0.01141, allocations: 129.5 kB / 0.8844 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.01146, allocations: 63.41 kB / 0.8844 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01161, allocations: 240.5 kB / 0.8847 GB, free: 300 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.01164, allocations: 33.7 kB / 0.8847 GB, free: 260 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.01173, allocations: 171.2 kB / 0.8849 GB, free: 84 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.01175, allocations: 31.75 kB / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.01183, allocations: 63.33 kB / 0.8849 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01196, allocations: 0.5 MB / 0.8854 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.01199, allocations: 19.94 kB / 0.8854 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.01219, allocations: 241.6 kB / 0.8857 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.0123, allocations: 106 kB / 0.8858 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.0123, allocations: 0 / 0.8858 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001695/0.01247, allocations: 136.5 kB / 0.8859 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01249, allocations: 4 kB / 0.8859 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01249, allocations: 3.984 kB / 0.8859 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01251, allocations: 4.156 kB / 0.8859 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.0126, allocations: 31.92 kB / 0.886 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.01261, allocations: 4 kB / 0.886 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01271, allocations: 23.81 kB / 0.886 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01272, allocations: 12 kB / 0.886 GB, free: 14.8 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 9.25e-05/0.01281, allocations: 168.5 kB / 0.8862 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.01284, allocations: 19.91 kB / 0.8862 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.01299, allocations: 119.4 kB / 0.8863 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.013, allocations: 4 kB / 0.8863 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.013, allocations: 7.938 kB / 0.8863 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01301, allocations: 4 kB / 0.8863 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.01337, allocations: 429.1 kB / 0.8867 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01337, allocations: 0 / 0.8867 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.01339, allocations: 11.92 kB / 0.8867 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.0134, allocations: 0 / 0.8867 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01341, allocations: 7.938 kB / 0.8867 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01341, allocations: 0 / 0.8867 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01341, allocations: 0 / 0.8867 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.01356, allocations: 266.9 kB / 0.887 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.0136, allocations: 23.89 kB / 0.887 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01361, allocations: 11.94 kB / 0.887 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/0.01366, allocations: 4 kB / 0.887 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.01372, allocations: 15.97 kB / 0.887 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.01374, allocations: 7.984 kB / 0.887 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.267e-05/0.01382, allocations: 172.2 kB / 0.8872 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 4 kB / 0.8872 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000216/0.01404, allocations: 47.86 kB / 0.8873 GB, free: 13.43 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.0003296/0.01437, allocations: 168.9 kB / 0.8874 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.01453, allocations: 83.66 kB / 0.8875 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01453, allocations: 0 / 0.8875 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.01459, allocations: 43.61 kB / 0.8875 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01487, allocations: 47.95 kB / 0.8876 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.01534, allocations: 289.8 kB / 0.8879 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01539, allocations: 71.98 kB / 0.8879 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.01546, allocations: 33.66 kB / 0.888 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.01551, allocations: 28.42 kB / 0.888 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.01551, allocations: 0 / 0.888 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.005641/0.02115, allocations: 3.563 MB / 0.8915 GB, free: 9.141 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=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.415793190011755]