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.Product.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.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.501/1.501, allocations: 249.3 MB / 261.8 MB, free: 5.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.001092/0.001092, allocations: 186.5 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.001164/0.001164, allocations: 94.52 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.69e-05, allocations: 8 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2339, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8234/1.057, allocations: 131.3 MB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.058, allocations: 75 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00223/1.06, allocations: 0.8359 MB / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.06, allocations: 4 kB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.06, allocations: 0 / 1.021 GB, free: 2.531 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.0004528/1.06, allocations: 366.9 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.06, allocations: 8.031 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/1.061, allocations: 30.56 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/1.061, allocations: 7.906 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.061, allocations: 163 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/1.061, allocations: 7.984 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/1.061, allocations: 0 / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/1.061, allocations: 51.7 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.061, allocations: 0 / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/1.061, allocations: 4 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.061, allocations: 3.938 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/1.061, allocations: 18.69 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/1.061, allocations: 306.2 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/1.062, allocations: 33.69 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/1.062, allocations: 22.8 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/1.062, allocations: 0 / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/1.062, allocations: 30.56 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.062, allocations: 6.734 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001507/1.062, allocations: 57.5 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.062, allocations: 51.41 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/1.062, allocations: 100.9 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.062, allocations: 25.7 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/1.062, allocations: 92.06 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/1.062, allocations: 7.891 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.062, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.062, allocations: 318.7 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/1.062, allocations: 11.94 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/1.062, allocations: 10.66 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/1.062, allocations: 11.67 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.062, allocations: 0 / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.117e-05/1.062, allocations: 53.17 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.062, allocations: 5.719 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.062, allocations: 0 / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.062, allocations: 4 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/1.063, allocations: 23.97 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.063, allocations: 0 / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/1.063, allocations: 15.98 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/1.063, allocations: 7.953 kB / 1.023 GB, free: 0.5781 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.536e-05/1.063, allocations: 104.2 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/1.063, allocations: 0 / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/1.063, allocations: 15.22 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.063, allocations: 3.938 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.063, allocations: 3.938 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.063, allocations: 3.984 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/1.063, allocations: 167.7 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.063, allocations: 0.875 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.063, allocations: 19.98 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.063, allocations: 0 / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.063, allocations: 4 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.063, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.063, allocations: 1.125 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/1.063, allocations: 155.2 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/1.063, allocations: 89.03 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/1.063, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.064, allocations: 19.98 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/1.064, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/1.064, allocations: 4.234 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.076e-05/1.064, allocations: 91.84 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001941/1.064, allocations: 11.94 kB / 1.023 GB, free: 15.83 MB / 0.6511 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.0004769/1.064, allocations: 0.6925 MB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.655e-05/1.064, allocations: 19.81 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.064, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/1.064, allocations: 15.19 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/1.065, allocations: 7.984 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/1.065, allocations: 106.2 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.065, allocations: 0.6887 MB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.169e-05/1.065, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/1.065, allocations: 11.25 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/1.065, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/1.077, allocations: 1.301 MB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.078, allocations: 170.6 kB / 1.026 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.633, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)