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.0009689/0.0009689, allocations: 93.06 kB / 19.65 MB, free: 280 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.001126/0.001126, allocations: 173.3 kB / 23.03 MB, free: 1.547 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 0.9463/0.9463, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.049/2.049, allocations: 429.5 MB / 0.6733 GB, free: 4.055 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 2.204e-06/2.204e-06, allocations: 0.6562 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.786e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002195/0.002213, allocations: 1.836 MB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.003107, allocations: 0.6157 MB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.003188, allocations: 0 / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.003384, allocations: 31.66 kB / 0.8806 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.003736, allocations: 125.7 kB / 0.8807 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.004029, allocations: 143.7 kB / 0.8808 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.004253, allocations: 235.3 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004362, allocations: 26.12 kB / 0.8811 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005855/0.01022, allocations: 2.37 MB / 0.8834 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.01038, allocations: 99.72 kB / 0.8835 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.01041, allocations: 12 kB / 0.8835 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.12e-05/0.01048, allocations: 31.98 kB / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.01053, allocations: 35.84 kB / 0.8836 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.01061, allocations: 59.86 kB / 0.8836 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.01086, allocations: 179.3 kB / 0.8838 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01087, allocations: 0 / 0.8838 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01087, allocations: 0 / 0.8838 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.01087, allocations: 0 / 0.8838 GB, free: 1.422 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.0005861/0.01146, allocations: 0.5731 MB / 0.8843 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.01149, allocations: 8.031 kB / 0.8843 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.01157, allocations: 32.8 kB / 0.8844 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.01176, allocations: 185.2 kB / 0.8846 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.01178, allocations: 12.56 kB / 0.8846 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.0118, allocations: 19.92 kB / 0.8846 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.01193, allocations: 77.59 kB / 0.8847 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.01194, allocations: 0 / 0.8847 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.01195, allocations: 4 kB / 0.8847 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.01196, allocations: 7.938 kB / 0.8847 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.01202, allocations: 35.91 kB / 0.8847 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.01256, allocations: 427.5 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.01267, allocations: 55.05 kB / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.0127, allocations: 27.67 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.01271, allocations: 0 / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/0.01281, allocations: 85.03 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.01281, allocations: 3.938 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0002242/0.01304, allocations: 129.5 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.01308, allocations: 59.41 kB / 0.8855 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01321, allocations: 240.5 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01323, allocations: 29.7 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.01331, allocations: 175.2 kB / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.01333, allocations: 35.73 kB / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.01339, allocations: 55.34 kB / 0.886 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01352, allocations: 0.5039 MB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.01355, allocations: 23.94 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.01374, allocations: 256.3 kB / 0.8867 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.01383, allocations: 109.4 kB / 0.8868 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01383, allocations: 0 / 0.8868 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000151/0.01399, allocations: 133.5 kB / 0.887 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.014, allocations: 8 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.014, allocations: 0 / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01402, allocations: 4 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.01409, allocations: 24.14 kB / 0.887 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.0141, allocations: 4.156 kB / 0.887 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.981e-05/0.01419, allocations: 35.75 kB / 0.887 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.0142, allocations: 4 kB / 0.887 GB, free: 13.77 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 8.882e-05/0.01429, allocations: 168.5 kB / 0.8872 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.01431, allocations: 23.91 kB / 0.8872 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.01446, allocations: 115.1 kB / 0.8873 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01446, allocations: 0 / 0.8873 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.01446, allocations: 0 / 0.8873 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01447, allocations: 0 / 0.8873 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.01479, allocations: 437.2 kB / 0.8877 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01479, allocations: 0 / 0.8877 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.01481, allocations: 11.94 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.01481, allocations: 0 / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01482, allocations: 7.922 kB / 0.8878 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01482, allocations: 0 / 0.8878 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01482, allocations: 0 / 0.8878 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01496, allocations: 265.2 kB / 0.888 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.01499, allocations: 23.89 kB / 0.888 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01501, allocations: 3.938 kB / 0.888 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.01505, allocations: 11.98 kB / 0.8881 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.0151, allocations: 19.97 kB / 0.8881 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.01512, allocations: 8 kB / 0.8881 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.0152, allocations: 176.2 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0152, allocations: 0 / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001974/0.01539, allocations: 35.94 kB / 0.8883 GB, free: 12.42 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.0002687/0.01566, allocations: 174.5 kB / 0.8885 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01581, allocations: 79.58 kB / 0.8885 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01581, allocations: 320 / 0.8885 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.01586, allocations: 54.42 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.0161, allocations: 58.86 kB / 0.8886 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.01654, allocations: 289.8 kB / 0.8889 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01658, allocations: 71.98 kB / 0.889 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.925e-05/0.01663, allocations: 25.41 kB / 0.889 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.01666, allocations: 20.5 kB / 0.889 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/0.01667, allocations: 4 kB / 0.889 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.005155/0.02182, allocations: 3.741 MB / 0.8927 GB, free: 7.934 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.256668954156339]