Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 186.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8113/0.8133, allocations: 160.8 MB / 1.218 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00336/0.8167, allocations: 1.792 MB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8179, allocations: 0.6172 MB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.8179, allocations: 1.094 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.8181, allocations: 38.03 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.8185, allocations: 123.6 kB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.8189, allocations: 145.7 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.8192, allocations: 232 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.8193, allocations: 23.77 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.8195, allocations: 108.1 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006001/0.8255, allocations: 0.8188 MB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.8255, allocations: 17.38 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.8256, allocations: 35.03 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.8257, allocations: 43.67 kB / 1.222 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.8258, allocations: 92.03 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.8262, allocations: 211.5 kB / 1.223 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8262, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8262, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.8263, allocations: 1.125 kB / 1.223 GB, free: 0.6797 MB / 0.92 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.0009943/0.8272, allocations: 0.5434 MB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8273, allocations: 9.469 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.956e-05/0.8274, allocations: 27.05 kB / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.8278, allocations: 247 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.8278, allocations: 14.55 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.8278, allocations: 15 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.828, allocations: 94.73 kB / 1.224 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.828, allocations: 0 / 1.224 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.8281, allocations: 5.094 kB / 1.224 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.8281, allocations: 6.125 kB / 1.224 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.8282, allocations: 53.75 kB / 1.224 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.8291, allocations: 466.3 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.8293, allocations: 73.11 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.8294, allocations: 29.28 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.8294, allocations: 10.67 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.8296, allocations: 93.3 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.8296, allocations: 0 / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0003741/0.83, allocations: 157.6 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.83, allocations: 57.45 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.8302, allocations: 190.2 kB / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.8303, allocations: 34.08 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.8304, allocations: 125 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.8304, allocations: 32.92 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.8305, allocations: 63.91 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.8307, allocations: 322.1 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.8308, allocations: 29.98 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.8311, allocations: 129.4 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.8312, allocations: 105.1 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.8313, allocations: 1.125 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002771/0.8315, allocations: 153.1 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8315, allocations: 5.469 kB / 1.226 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.8316, allocations: 5.344 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.8316, allocations: 7 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.8317, allocations: 16.83 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8317, allocations: 5.531 kB / 1.226 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.8319, allocations: 22.62 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.8319, allocations: 5.469 kB / 1.226 GB, free: 14 MB / 0.9356 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.0001516/0.832, allocations: 146.3 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.8321, allocations: 14.56 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.8323, allocations: 138.1 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8323, allocations: 1.625 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8323, allocations: 0 / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8323, allocations: 0 / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.833, allocations: 462.8 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.833, allocations: 1 kB / 1.226 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.833, allocations: 9.266 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.833, allocations: 1.25 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.833, allocations: 4.875 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.833, allocations: 0.9688 kB / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.833, allocations: 0 / 1.226 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.8333, allocations: 223.9 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.8334, allocations: 103.5 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.8335, allocations: 9.25 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.8336, allocations: 4.047 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.8336, allocations: 21.95 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.8337, allocations: 9.984 kB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001777/0.8339, allocations: 140.1 kB / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8339, allocations: 0 / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000328/0.8342, allocations: 44.58 kB / 1.227 GB, free: 12.89 MB / 0.9356 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.0004082/0.8346, allocations: 162.1 kB / 1.227 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.8348, allocations: 100.6 kB / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8348, allocations: 0 / 1.227 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.8349, allocations: 37.48 kB / 1.227 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.8353, allocations: 43.42 kB / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.836, allocations: 295.6 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.8365, allocations: 0.7243 MB / 1.228 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.013e-05/0.8365, allocations: 27.33 kB / 1.228 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.8366, allocations: 18.84 kB / 1.228 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/0.8366, allocations: 0 / 1.228 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.009104/0.8457, allocations: 3.375 MB / 1.232 GB, free: 9.555 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.553333717398345]