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.Cos.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.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.848 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.001065/0.001064, allocations: 180.9 kB / 316.3 MB, free: 3.242 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.454/1.454, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009036/0.0009034, allocations: 92.38 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.172e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1896, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6051/0.7948, allocations: 131.7 MB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.795, allocations: 71.14 kB / 1.014 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001564/0.7966, allocations: 0.6688 MB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7966, allocations: 0 / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.7966, allocations: 0 / 1.015 GB, free: 5.016 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003248/0.797, allocations: 338.9 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.797, allocations: 8.031 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.797, allocations: 7.984 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.7971, allocations: 167 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.7972, allocations: 0 / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.7972, allocations: 4 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.129e-05/0.7973, allocations: 7.75 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.957e-05/0.7973, allocations: 37 kB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.7973, allocations: 3.938 kB / 1.015 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.7973, allocations: 4 kB / 1.015 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7974, allocations: 4 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.7977, allocations: 240.1 kB / 1.015 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.646e-05/0.7978, allocations: 28.89 kB / 1.015 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.7978, allocations: 15.98 kB / 1.015 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.7978, allocations: 0 / 1.015 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.7978, allocations: 30.56 kB / 1.015 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.7978, allocations: 0 / 1.015 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001239/0.798, allocations: 44.97 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.798, allocations: 54.14 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.7981, allocations: 92.38 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.7981, allocations: 29.73 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.7982, allocations: 84.14 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.7982, allocations: 7.219 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.7982, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.7983, allocations: 318.8 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.7983, allocations: 7.938 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.7983, allocations: 6.938 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.515e-05/0.7983, allocations: 2.812 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7983, allocations: 64 / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.876e-05/0.7984, allocations: 45.39 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.7984, allocations: 4 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7984, allocations: 0 / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.7985, allocations: 3.984 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.7985, allocations: 8 kB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.7986, allocations: 0 / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.7986, allocations: 11.98 kB / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.7986, allocations: 4.906 kB / 1.016 GB, free: 3.277 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 (2): * Single equations (assignments): 2 * 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.186e-05/0.7987, allocations: 104.9 kB / 1.016 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.704e-05/0.7988, allocations: 49 kB / 1.016 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.7988, allocations: 3.906 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.642e-05/0.7989, allocations: 48.58 kB / 1.016 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.7989, allocations: 0 / 1.016 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7989, allocations: 4 kB / 1.016 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7989, allocations: 3.938 kB / 1.016 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.7991, allocations: 145.6 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7991, allocations: 0 / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.7991, allocations: 11.98 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7991, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.7992, allocations: 192 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.7992, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7992, allocations: 3.938 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.7993, allocations: 154.4 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.7993, allocations: 77.11 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.7993, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.7994, allocations: 8 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.7995, allocations: 3.984 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.7995, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.7995, allocations: 82.34 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7995, allocations: 0 / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002183/0.7997, allocations: 8.031 kB / 1.017 GB, free: 2.512 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 (2): * Single equations (assignments): 2 * 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.0003381/0.8001, allocations: 0.6715 MB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.014e-05/0.8001, allocations: 14.25 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8002, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.8002, allocations: 12.09 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.8004, allocations: 5.891 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.8007, allocations: 85.53 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.8009, allocations: 0.6807 MB / 1.018 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.8009, allocations: 7.891 kB / 1.018 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.801, allocations: 10.81 kB / 1.018 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.801, allocations: 0 / 1.018 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.8186, allocations: 0.693 MB / 1.019 GB, free: 280 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.8188, allocations: 163.6 kB / 1.019 GB, free: 76 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/2.2, allocations: 3.938 kB / 1.019 GB, free: 72 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)