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.42/1.42, allocations: 249.5 MB / 257 MB, free: 6.934 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.001241/0.001241, allocations: 184.7 kB / 316.3 MB, free: 3.254 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.477/1.477, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008279/0.0008279, allocations: 82.53 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.209e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6642/0.8281, allocations: 131.8 MB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.8283, allocations: 70.7 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003641/0.832, allocations: 1.374 MB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.832, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.832, allocations: 0 / 1.015 GB, free: 4.641 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.0003991/0.8324, allocations: 350.4 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.8325, allocations: 8.031 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.8325, allocations: 11.91 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.8328, allocations: 194.8 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.8328, allocations: 0 / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.8329, allocations: 4 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.536e-05/0.8329, allocations: 19.5 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.271e-05/0.833, allocations: 41.62 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.833, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.8331, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.8331, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.8335, allocations: 280.7 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/0.8336, allocations: 38.14 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.8336, allocations: 16.67 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.8336, allocations: 4 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.8337, allocations: 30.56 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8337, allocations: 0.8438 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.8338, allocations: 49.34 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.8339, allocations: 51.41 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.8339, allocations: 104.9 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.834, allocations: 29.64 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.834, allocations: 95.8 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.8341, allocations: 11.78 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.8341, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8342, allocations: 329.4 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.8342, allocations: 7.938 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/0.8342, allocations: 8 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.8343, allocations: 11.75 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.8343, allocations: 0 / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.894e-05/0.8344, allocations: 66.03 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.8344, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.8344, allocations: 4 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.8344, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8345, allocations: 15.98 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.8345, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.8346, allocations: 11.98 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.8346, allocations: 3.062 kB / 1.017 GB, free: 2.766 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 (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 6.38e-05/0.8347, allocations: 112.9 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.828e-05/0.8348, allocations: 56.84 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.8348, allocations: 4 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.8349, allocations: 57.92 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8349, allocations: 4 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8349, allocations: 0 / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8349, allocations: 7.938 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.8351, allocations: 146 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8351, allocations: 3.984 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.8352, allocations: 16 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8352, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.8352, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.8352, allocations: 3.984 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8352, allocations: 0 / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.8354, allocations: 162.7 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.8354, allocations: 85.05 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.8355, allocations: 0 / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.8356, allocations: 12.05 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.8356, allocations: 4 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.8356, allocations: 3.938 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.8356, allocations: 91.58 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8357, allocations: 3.938 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000208/0.8359, allocations: 7.938 kB / 1.018 GB, free: 1.941 MB / 0.6355 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.0004689/0.8363, allocations: 0.7038 MB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.8364, allocations: 27.73 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8364, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.8365, allocations: 15.75 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.8367, allocations: 14.33 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.8371, allocations: 123.5 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.8374, allocations: 0.6846 MB / 1.019 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.8374, allocations: 7.906 kB / 1.019 GB, free: 320 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.8374, allocations: 11.31 kB / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.8374, allocations: 0 / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.8557, allocations: 1.024 MB / 1.02 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.8559, allocations: 165.8 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.378/2.234, allocations: 0 / 1.021 GB, free: 15.11 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)