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.001539/0.001539, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 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.0015/0.0015, allocations: 220.3 kB / 23.05 MB, free: 4.844 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|sca1.y.1.|sca1.y.2.",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.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 66.92 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4056, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003284/0.4089, allocations: 1.768 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4101, allocations: 0.5967 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.4101, allocations: 3.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.4103, allocations: 31.73 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.4107, allocations: 119.4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.4111, allocations: 153 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.4114, allocations: 227.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4115, allocations: 21.73 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.4116, allocations: 107.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006114/0.4178, allocations: 0.8112 MB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.4178, allocations: 20 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.684e-05/0.4179, allocations: 28 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.418, allocations: 39.89 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4181, allocations: 75.58 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.4185, allocations: 215.1 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4185, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4185, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4185, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 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.0008264/0.4193, allocations: 484.9 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4194, allocations: 12.03 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.4194, allocations: 16.84 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4197, allocations: 190.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4198, allocations: 8 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.4198, allocations: 12 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.42, allocations: 98.97 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.42, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.42, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.42, allocations: 11.92 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4202, allocations: 59.91 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.4209, allocations: 376.1 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.4211, allocations: 74.48 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.4212, allocations: 28.84 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4212, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4214, allocations: 98.62 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4214, allocations: 0 / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003324/0.4217, allocations: 145.7 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4218, allocations: 63.33 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.422, allocations: 194.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.422, allocations: 33.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.4221, allocations: 120.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.4221, allocations: 35.72 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.4222, allocations: 57.67 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4224, allocations: 326.8 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.4224, allocations: 27.98 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.4228, allocations: 248.9 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4229, allocations: 109.1 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4229, allocations: 0 / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002535/0.4232, allocations: 153.2 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4232, allocations: 14.03 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4232, allocations: 0 / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4232, allocations: 4 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4233, allocations: 23.86 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4233, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4235, allocations: 27.88 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4235, allocations: 4 kB / 1.334 GB, free: 9.758 MB / 1.029 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.0001314/0.4237, allocations: 133.6 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.4237, allocations: 16.12 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.4239, allocations: 135.1 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4239, allocations: 11.88 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4239, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4239, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.4245, allocations: 386 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4245, allocations: 3.938 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.4245, allocations: 8 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4245, allocations: 0 / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4245, allocations: 4 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4246, allocations: 4 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4246, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.4248, allocations: 223.3 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.4248, allocations: 19.89 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4249, allocations: 4 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.425, allocations: 11.98 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.425, allocations: 15.97 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.4251, allocations: 8 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001339/0.4252, allocations: 140.3 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4252, allocations: 0 / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003079/0.4255, allocations: 47.89 kB / 1.335 GB, free: 8.535 MB / 1.029 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.0004027/0.4259, allocations: 175.5 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.4261, allocations: 91.84 kB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4261, allocations: 0 / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.4262, allocations: 39.92 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4266, allocations: 51.59 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/0.4273, allocations: 320.6 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.4274, allocations: 119.8 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.4275, allocations: 23.38 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4275, allocations: 0 / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of Templates: time 0.005687/0.4332, allocations: 3.063 MB / 1.339 GB, free: 4.645 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.26689494214952]