Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 176.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 82.48 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.445e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1943, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6948/0.8891, allocations: 131.6 MB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.8894, allocations: 69.27 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002204/0.8916, allocations: 0.8333 MB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8916, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8917, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004333/0.8921, allocations: 361.5 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8921, allocations: 8.031 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.8922, allocations: 7.906 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.8924, allocations: 171 kB / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.8924, allocations: 0 / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.8924, allocations: 3.938 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.535e-05/0.8925, allocations: 22.42 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.8926, allocations: 39.89 kB / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8926, allocations: 0 / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8926, allocations: 0 / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8926, allocations: 0 / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.8931, allocations: 294.5 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.233e-05/0.8932, allocations: 37.2 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.8932, allocations: 16.22 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.8933, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.8933, allocations: 30.56 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.8933, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001708/0.8935, allocations: 59.17 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.8935, allocations: 51.41 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.8936, allocations: 96.73 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.8936, allocations: 33.64 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.8937, allocations: 83.45 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.8937, allocations: 15.33 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.8937, allocations: 0 / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8938, allocations: 314.8 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.8939, allocations: 7.5 kB / 1.016 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.8939, allocations: 7.75 kB / 1.016 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.8939, allocations: 7 kB / 1.016 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.8939, allocations: 4 kB / 1.016 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.783e-05/0.894, allocations: 56.03 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.894, allocations: 4 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.894, allocations: 0 / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.8941, allocations: 4.812 kB / 1.016 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.8942, allocations: 19.97 kB / 1.016 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8942, allocations: 320 / 1.016 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.8943, allocations: 19.98 kB / 1.016 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.8943, allocations: 4 kB / 1.016 GB, free: 3.055 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.8944, allocations: 108.9 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.324e-05/0.8945, allocations: 49.19 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.8945, allocations: 8.406 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.8947, allocations: 53.09 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.8947, allocations: 0 / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8947, allocations: 11.92 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8947, allocations: 4 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.8948, allocations: 146.9 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8948, allocations: 0 / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.895, allocations: 23.92 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.895, allocations: 3.938 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.895, allocations: 0 / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.895, allocations: 7.984 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.895, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.8951, allocations: 149.9 kB / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.8952, allocations: 85.02 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.8952, allocations: 4.312 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.8953, allocations: 15.98 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.8954, allocations: 0 / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.8954, allocations: 4 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.8954, allocations: 90.58 kB / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8954, allocations: 0 / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002043/0.8956, allocations: 11.94 kB / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004287/0.8961, allocations: 0.6847 MB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.8962, allocations: 24.94 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8962, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.8963, allocations: 11.38 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.8965, allocations: 7.984 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.8968, allocations: 105.3 kB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.8971, allocations: 0.6846 MB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.8971, allocations: 8 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.8972, allocations: 10.69 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/0.8972, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.9154, allocations: 0.9608 MB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.9156, allocations: 156.4 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.468, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)