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.Derivative.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.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.812 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.00104/0.00104, allocations: 186.5 kB / 321.3 MB, free: 14.65 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.637/1.637, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008226/0.0008228, allocations: 90.44 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.246e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8037/1.052, allocations: 131.5 MB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.052, allocations: 73.64 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004008/1.056, allocations: 1.37 MB / 1.022 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.398e-06/1.056, allocations: 0 / 1.022 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.148e-05/1.056, allocations: 3.938 kB / 1.022 GB, free: 1.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000439/1.056, allocations: 360.6 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.056, allocations: 12.03 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/1.056, allocations: 38.31 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/1.056, allocations: 7.906 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/1.057, allocations: 185.8 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/1.057, allocations: 6.125 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/1.057, allocations: 3.5 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/1.057, allocations: 48.56 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/1.057, allocations: 0 / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/1.057, allocations: 0 / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.057, allocations: 4 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/1.057, allocations: 23 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/1.058, allocations: 305.7 kB / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/1.058, allocations: 37.52 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/1.058, allocations: 14.98 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/1.058, allocations: 0 / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.058, allocations: 32.56 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/1.058, allocations: 0 / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000168/1.058, allocations: 59.77 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.058, allocations: 59.36 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/1.058, allocations: 104.4 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/1.058, allocations: 29.58 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/1.058, allocations: 91.73 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/1.058, allocations: 11.83 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.058, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.058, allocations: 318.1 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/1.058, allocations: 8.312 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/1.058, allocations: 11.25 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/1.058, allocations: 11.38 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.058, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001173/1.059, allocations: 72.16 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.059, allocations: 9.812 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.059, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.059, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.059, allocations: 15.98 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/1.059, allocations: 4 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/1.059, allocations: 16.25 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/1.059, allocations: 4 kB / 1.024 GB, free: 15.95 MB / 0.6511 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 (5): * Single equations (assignments): 5 * 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 7.4e-05/1.059, allocations: 105 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/1.059, allocations: 3.906 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/1.059, allocations: 68.39 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.059, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.059, allocations: 4 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.059, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/1.059, allocations: 168.9 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.059, allocations: 4 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.533e-05/1.059, allocations: 19.98 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.059, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/1.06, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.06, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.06, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/1.06, allocations: 171.8 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/1.06, allocations: 77.11 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.06, allocations: 12.02 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/1.06, allocations: 11.56 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/1.06, allocations: 3.984 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.06, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.555e-05/1.06, allocations: 86.03 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.06, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002076/1.06, allocations: 15.94 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005236/1.061, allocations: 0.7046 MB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001/1.061, allocations: 33.78 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.061, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/1.061, allocations: 11.31 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/1.061, allocations: 11.5 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/1.062, allocations: 128.5 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/1.062, allocations: 0.6887 MB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.902e-05/1.062, allocations: 4.25 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/1.062, allocations: 14.67 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of SimCode: time 2.655e-06/1.062, allocations: 0 / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/1.074, allocations: 1.348 MB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.075, allocations: 178.3 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.596, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)