Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001364/0.001364, allocations: 80.92 kB / 20.75 MB, free: 3.742 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: 161 kB / 24.17 MB, free: 332 kB / 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.952/0.952, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0.875 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.597e-05, allocations: 5.547 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002136/0.002152, allocations: 1.835 MB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.003005, allocations: 0.6081 MB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.003072, allocations: 5.531 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.003231, allocations: 25.39 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.00351, allocations: 129.6 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.003735, allocations: 147.6 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.003947, allocations: 231.1 kB / 0.7629 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.004035, allocations: 34.42 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00603/0.01006, allocations: 2.373 MB / 0.7652 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.0102, allocations: 91.75 kB / 0.7653 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.01022, allocations: 12 kB / 0.7653 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.01032, allocations: 35.92 kB / 0.7654 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.01037, allocations: 41.42 kB / 0.7654 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.01043, allocations: 63.81 kB / 0.7655 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.01064, allocations: 163.4 kB / 0.7656 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01064, allocations: 0 / 0.7656 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01064, allocations: 0 / 0.7656 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.01065, allocations: 1.25 kB / 0.7656 GB, free: 1.859 MB / 0.7136 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.0004816/0.01113, allocations: 468.3 kB / 0.7661 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.01116, allocations: 12.03 kB / 0.7661 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.01121, allocations: 23.42 kB / 0.7661 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.01137, allocations: 162.4 kB / 0.7663 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.01138, allocations: 12.55 kB / 0.7663 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.0114, allocations: 19.94 kB / 0.7663 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.01149, allocations: 80.02 kB / 0.7664 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.0115, allocations: 0 / 0.7664 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.01151, allocations: 4 kB / 0.7664 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.01151, allocations: 6.75 kB / 0.7664 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.01155, allocations: 23.92 kB / 0.7664 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.01194, allocations: 274.9 kB / 0.7667 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.01202, allocations: 55.72 kB / 0.7667 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.01203, allocations: 16.84 kB / 0.7667 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.01205, allocations: 0.9375 kB / 0.7667 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/0.01212, allocations: 83.28 kB / 0.7668 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 8.71e-07/0.01212, allocations: 0.9375 kB / 0.7668 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0001311/0.01226, allocations: 91.03 kB / 0.7669 GB, free: 460 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.01229, allocations: 55.89 kB / 0.7669 GB, free: 392 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.01239, allocations: 185.1 kB / 0.7671 GB, free: 196 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01241, allocations: 37.14 kB / 0.7672 GB, free: 156 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.01256, allocations: 116.7 kB / 0.7673 GB, free: 36 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.01258, allocations: 35.72 kB / 0.7673 GB, free: 0 / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.01263, allocations: 49.8 kB / 0.7674 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.0127, allocations: 338.7 kB / 0.7677 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.01272, allocations: 12 kB / 0.7677 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.01289, allocations: 232.8 kB / 0.7679 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.01295, allocations: 86.41 kB / 0.768 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01295, allocations: 0 / 0.768 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 9.847e-05/0.01305, allocations: 105.5 kB / 0.7681 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01306, allocations: 8 kB / 0.7681 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01307, allocations: 1.375 kB / 0.7681 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.01308, allocations: 4 kB / 0.7681 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.01314, allocations: 23.92 kB / 0.7681 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01314, allocations: 0 / 0.7681 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.01322, allocations: 24.58 kB / 0.7682 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.01322, allocations: 7.969 kB / 0.7682 GB, free: 15.04 MB / 0.7292 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.011e-05/0.01329, allocations: 136.3 kB / 0.7683 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.01331, allocations: 11.98 kB / 0.7683 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.0134, allocations: 87.08 kB / 0.7684 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.0134, allocations: 4 kB / 0.7684 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.0134, allocations: 0 / 0.7684 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01341, allocations: 3.984 kB / 0.7684 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.01367, allocations: 286.5 kB / 0.7687 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01367, allocations: 4 kB / 0.7687 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.01369, allocations: 18.83 kB / 0.7687 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01369, allocations: 0 / 0.7687 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.0137, allocations: 0 / 0.7687 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.0137, allocations: 0 / 0.7687 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0137, allocations: 4 kB / 0.7687 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.735e-05/0.01379, allocations: 175.4 kB / 0.7689 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.01381, allocations: 19.89 kB / 0.7689 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.01382, allocations: 4 kB / 0.7689 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.01387, allocations: 15.52 kB / 0.7689 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.01391, allocations: 15.86 kB / 0.7689 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01392, allocations: 11.98 kB / 0.7689 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.01396, allocations: 53.8 kB / 0.769 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-08/0.01396, allocations: 0 / 0.769 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001643/0.01412, allocations: 39.94 kB / 0.769 GB, free: 14.11 MB / 0.7292 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.0002824/0.0144, allocations: 157.2 kB / 0.7692 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.0145, allocations: 72.75 kB / 0.7692 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.01451, allocations: 5.5 kB / 0.7692 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.852e-05/0.01455, allocations: 32.78 kB / 0.7693 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.01473, allocations: 59.28 kB / 0.7693 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.01509, allocations: 285.6 kB / 0.7696 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.01513, allocations: 71.98 kB / 0.7697 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.01517, allocations: 18.64 kB / 0.7697 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.01531, allocations: 106.3 kB / 0.7698 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01531, allocations: 0 / 0.7698 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.004773/0.02008, allocations: 3.638 MB / 0.7733 GB, free: 9.863 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.029574709013104]