Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 222.4 MB, free: 4.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.3 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2063, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001943/0.2083, allocations: 0.6985 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.2091, allocations: 0.801 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.2092, allocations: 4 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.2092, allocations: 7.875 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.2093, allocations: 15.91 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.699e-05/0.2094, allocations: 11.98 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.2095, allocations: 39.86 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.2096, allocations: 12 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.2097, allocations: 15.92 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.2097, allocations: 27.91 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2097, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2097, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.2098, allocations: 8 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2098, allocations: 23.78 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.506e-05/0.2099, allocations: 35.88 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2099, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2099, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2099, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 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.0004933/0.2104, allocations: 367.6 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.2105, allocations: 12.03 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.2105, allocations: 38.73 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.2105, allocations: 4.938 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2107, allocations: 168.2 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2107, allocations: 4.375 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2107, allocations: 384 / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.2109, allocations: 70.16 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.211, allocations: 7.938 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.211, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.211, allocations: 4 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2113, allocations: 59.92 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.2116, allocations: 272.9 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.2118, allocations: 62.47 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.212, allocations: 32.92 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.212, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.212, allocations: 38.56 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.212, allocations: 0 / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000515/0.2125, allocations: 129.5 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2126, allocations: 59.28 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.2127, allocations: 109.8 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.2127, allocations: 33.7 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.2127, allocations: 84.12 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2128, allocations: 11.89 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2128, allocations: 13.72 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2129, allocations: 314.8 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.2131, allocations: 35.95 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2132, allocations: 31.97 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2135, allocations: 76.98 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2135, allocations: 0 / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.2138, allocations: 101.5 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2138, allocations: 7.938 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2138, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2139, allocations: 0 / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.214, allocations: 19.97 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.214, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.2141, allocations: 11.98 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2141, allocations: 3.938 kB / 0.7873 GB, free: 9.25 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/0.2142, allocations: 121.8 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.2142, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.2146, allocations: 109.5 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2146, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2146, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2146, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.2148, allocations: 173.6 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2148, allocations: 3.938 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.2149, allocations: 19.98 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2149, allocations: 0 / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.2149, allocations: 4 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2149, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2149, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.2153, allocations: 203.3 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2153, allocations: 77.11 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2153, allocations: 0 / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2154, allocations: 15.98 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2155, allocations: 7.922 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.2155, allocations: 4 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.2155, allocations: 87.28 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2156, allocations: 0 / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002154/0.2158, allocations: 8 kB / 0.7881 GB, free: 8.328 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006385/0.2164, allocations: 0.7357 MB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.2168, allocations: 67.92 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2168, allocations: 0 / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2169, allocations: 39.89 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.2172, allocations: 12.94 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.2176, allocations: 151.5 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2179, allocations: 0.6807 MB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.2179, allocations: 0 / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.218, allocations: 23.42 kB / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.218, allocations: 0 / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.2337, allocations: 1.6 MB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.413, allocations: 3.281 kB / 0.7913 GB, free: 5 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)