Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001642/0.001642, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002146/0.002146, allocations: 211.6 kB / 22.24 MB, free: 5.242 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [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.002096/0.002096, allocations: 70.02 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.3, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003142/0.3032, allocations: 1.772 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3043, allocations: 0.5888 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.3044, allocations: 4 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.3046, allocations: 27.72 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3049, allocations: 123.4 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.3053, allocations: 150.1 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.3056, allocations: 227.5 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3057, allocations: 29.67 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3058, allocations: 107.7 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006072/0.3119, allocations: 0.7985 MB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.312, allocations: 16 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3121, allocations: 43.92 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.3121, allocations: 39.89 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3123, allocations: 75.62 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.3126, allocations: 215.1 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3126, allocations: 0 / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3126, allocations: 4 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3127, allocations: 0 / 1.287 GB, free: 8.453 MB / 0.9825 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.0008116/0.3135, allocations: 482.8 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3135, allocations: 8.031 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.3136, allocations: 38.75 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.3136, allocations: 24.83 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.3139, allocations: 186.5 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3139, allocations: 12 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.314, allocations: 12 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3142, allocations: 97.66 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3142, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3142, allocations: 11.97 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3142, allocations: 7.938 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3143, allocations: 51.97 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.3152, allocations: 399.5 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3153, allocations: 82.42 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.3154, allocations: 32.78 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3154, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.3156, allocations: 95.38 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3156, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.000335/0.316, allocations: 147.6 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.316, allocations: 59.34 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3162, allocations: 191.6 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3163, allocations: 33.7 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3164, allocations: 124.5 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.3164, allocations: 39.73 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3165, allocations: 53.69 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3167, allocations: 330.8 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.3167, allocations: 27.98 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.3171, allocations: 231.3 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.3172, allocations: 109 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3172, allocations: 4 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002637/0.3175, allocations: 152.4 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3175, allocations: 8 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3175, allocations: 3.938 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3175, allocations: 4 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.3176, allocations: 12 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3176, allocations: 8 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3178, allocations: 23.88 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3178, allocations: 8.156 kB / 1.29 GB, free: 5.129 MB / 0.9825 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.0001466/0.318, allocations: 141.8 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.318, allocations: 11.91 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3183, allocations: 139.2 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3183, allocations: 0 / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3183, allocations: 3.938 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3183, allocations: 0 / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.3189, allocations: 417.3 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3189, allocations: 0 / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3189, allocations: 8 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3189, allocations: 0 / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3189, allocations: 11.98 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3189, allocations: 0 / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3189, allocations: 0 / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3192, allocations: 216.4 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.3192, allocations: 27.83 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.3193, allocations: 3.984 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3194, allocations: 8 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.3194, allocations: 23.91 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3195, allocations: 8 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001301/0.3196, allocations: 137.6 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3196, allocations: 0 / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003062/0.3199, allocations: 47.89 kB / 1.291 GB, free: 3.863 MB / 0.9825 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.0009136/0.3208, allocations: 0.8283 MB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.321, allocations: 83.91 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3211, allocations: 0 / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.3211, allocations: 39.92 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3216, allocations: 62.75 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.3243, allocations: 1.854 MB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.3244, allocations: 111.4 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.3245, allocations: 21.48 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3246, allocations: 55.41 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of SimCode: time 1.653e-06/0.3246, allocations: 0 / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.3585, allocations: 5.934 MB / 1.3 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.26, allocations: 10.5 kB / 1.3 GB, free: 10.96 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.795551185961813]