Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 285.6 MB / 293.1 MB, free: 10.14 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001262, allocations: 176.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008757, allocations: 99.11 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.978e-05, allocations: 15.98 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8669, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/1.101, allocations: 136.8 MB / 1.098 GB, free: 3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.101, allocations: 71.95 kB / 1.098 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002557/1.104, allocations: 0.8003 MB / 1.099 GB, free: 2.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.104, allocations: 1.406 kB / 1.099 GB, free: 2.148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.104, allocations: 0 / 1.099 GB, free: 2.148 MB / 0.698 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.0005603/1.104, allocations: 359.1 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/1.104, allocations: 8.594 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/1.104, allocations: 8.938 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/1.105, allocations: 171.6 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.105, allocations: 0.5 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/1.105, allocations: 4.594 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/1.105, allocations: 22.95 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.105, allocations: 42.88 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.105, allocations: 3.344 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/1.105, allocations: 0 / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.105, allocations: 0.7188 kB / 1.099 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/1.106, allocations: 288.3 kB / 1.1 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.106, allocations: 32.78 kB / 1.1 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/1.106, allocations: 21.42 kB / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/1.106, allocations: 0 / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.106, allocations: 31.25 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/1.106, allocations: 0.5938 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000217/1.106, allocations: 51.06 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.106, allocations: 55.41 kB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/1.106, allocations: 93 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.106, allocations: 30.58 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/1.107, allocations: 90.03 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/1.107, allocations: 7.812 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/1.107, allocations: 0 / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.107, allocations: 322.8 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/1.107, allocations: 4 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/1.107, allocations: 12.97 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/1.107, allocations: 9.359 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.107, allocations: 1.781 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001039/1.107, allocations: 49.69 kB / 1.101 GB, free: 304 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.107, allocations: 4 kB / 1.101 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.107, allocations: 0 / 1.101 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.107, allocations: 0 / 1.101 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.107, allocations: 35.8 kB / 1.101 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.107, allocations: 0 / 1.101 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/1.107, allocations: 15.98 kB / 1.101 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.107, allocations: 3.203 kB / 1.101 GB, free: 252 kB / 0.698 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 9.713e-05/1.107, allocations: 108.9 kB / 1.101 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001134/1.108, allocations: 57.53 kB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/1.108, allocations: 0 / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/1.108, allocations: 12.34 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.108, allocations: 0.9375 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.108, allocations: 0 / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.108, allocations: 0 / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/1.108, allocations: 150.2 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.108, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.108, allocations: 27.97 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.108, allocations: 3.5 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/1.108, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.108, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.108, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/1.108, allocations: 155.9 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/1.108, allocations: 77.11 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.108, allocations: 3.938 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.108, allocations: 21.39 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/1.109, allocations: 10 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/1.109, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.696e-05/1.109, allocations: 83.28 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002374/1.109, allocations: 11.94 kB / 1.101 GB, free: 15.46 MB / 0.7136 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.0006186/1.109, allocations: 0.6875 MB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000132/1.11, allocations: 27.98 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.11, allocations: 3.938 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/1.11, allocations: 12 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/1.11, allocations: 4.516 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/1.11, allocations: 105.3 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.111, allocations: 0.6846 MB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.4e-05/1.111, allocations: 0 / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/1.111, allocations: 15.42 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.111, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/1.133, allocations: 0.9568 MB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.133, allocations: 156.8 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.664, allocations: 1.625 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)