Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.642/2.642, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001425/0.001425, allocations: 180.9 kB / 360.6 MB, free: 7.297 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.103/2.103, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001112/0.001112, allocations: 93.25 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.271e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8453, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/1.12, allocations: 136.6 MB / 1.097 GB, free: 3.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.12, allocations: 72.45 kB / 1.097 GB, free: 3.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003372/1.124, allocations: 0.8236 MB / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/1.124, allocations: 0 / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.124, allocations: 4.594 kB / 1.098 GB, free: 2.957 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.0005922/1.124, allocations: 371.8 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.124, allocations: 8.812 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/1.124, allocations: 5.203 kB / 1.098 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.125, allocations: 180.4 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.125, allocations: 0 / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/1.125, allocations: 0.6875 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/1.125, allocations: 20 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/1.125, allocations: 43.25 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.125, allocations: 0 / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/1.125, allocations: 3.391 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/1.125, allocations: 0.5312 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/1.126, allocations: 290.5 kB / 1.099 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/1.126, allocations: 36.22 kB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/1.126, allocations: 16.86 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.126, allocations: 0.5625 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.126, allocations: 34.06 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/1.126, allocations: 0.5312 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002112/1.126, allocations: 49.67 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.126, allocations: 59.34 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/1.126, allocations: 101.3 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/1.126, allocations: 25.7 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/1.126, allocations: 92.92 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.126, allocations: 11.83 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/1.126, allocations: 0 / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.127, allocations: 320.5 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/1.127, allocations: 12 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/1.127, allocations: 8 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/1.127, allocations: 9.719 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.127, allocations: 0 / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001316/1.127, allocations: 57.59 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.127, allocations: 4.625 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.127, allocations: 0 / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.127, allocations: 0 / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/1.127, allocations: 28.41 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.127, allocations: 7.219 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/1.127, allocations: 15.98 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/1.127, allocations: 0 / 1.099 GB, free: 1.02 MB / 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 8.388e-05/1.127, allocations: 108.7 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000133/1.128, allocations: 56.83 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/1.128, allocations: 11.91 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/1.128, allocations: 8.344 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.128, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/1.128, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.128, allocations: 0 / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/1.128, allocations: 146.2 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.128, allocations: 0 / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.128, allocations: 27.97 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.128, allocations: 4 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.128, allocations: 0 / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.128, allocations: 4 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.128, allocations: 0 / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/1.128, allocations: 151.4 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/1.128, allocations: 81.02 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.128, allocations: 3.875 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.129, allocations: 19.98 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/1.129, allocations: 5.391 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/1.129, allocations: 4 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of sorting global known variables: time 5.458e-05/1.129, allocations: 83.28 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.129, allocations: 0 / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002814/1.129, allocations: 8 kB / 1.1 GB, free: 236 kB / 0.698 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.0005313/1.13, allocations: 0.6916 MB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001342/1.13, allocations: 25.5 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.13, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.495e-05/1.13, allocations: 12 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/1.13, allocations: 5.891 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/1.131, allocations: 111.8 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/1.131, allocations: 0.6846 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.96e-05/1.131, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/1.131, allocations: 11.44 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of SimCode: time 2.785e-06/1.131, allocations: 0 / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/1.166, allocations: 1.016 MB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/1.166, allocations: 141.9 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.469, allocations: 2.188 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)