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.001238/0.001238, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.616/1.616, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0004495/0.0004496, allocations: 17.25 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2181, allocations: 116.3 MB / 0.7873 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0007704/0.219, allocations: 421 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.2198, allocations: 0.7988 MB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.2198, allocations: 0 / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.2198, allocations: 3.984 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.2199, allocations: 11.94 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.52e-05/0.22, allocations: 11.92 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.22, allocations: 31.95 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.2201, allocations: 4 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.2202, allocations: 19.92 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.2202, allocations: 15.92 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2203, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2203, allocations: 4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2203, allocations: 7.984 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.2203, allocations: 29.7 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.655e-05/0.2204, allocations: 31.92 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2204, allocations: 4 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2204, allocations: 3.938 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.2204, allocations: 0 / 0.7886 GB, free: 10.46 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.0004295/0.2208, allocations: 363.5 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2209, allocations: 12.03 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.2209, allocations: 34.56 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.2209, allocations: 3.906 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.932e-05/0.221, allocations: 175 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2211, allocations: 0 / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.2211, allocations: 4 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2213, allocations: 77.66 kB / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.2213, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.2213, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2214, allocations: 4 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.2217, allocations: 87.86 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.222, allocations: 272.9 kB / 0.7896 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.2222, allocations: 70.53 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2222, allocations: 0 / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2223, allocations: 34.5 kB / 0.7897 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2223, allocations: 0 / 0.7897 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005536/0.2228, allocations: 173.7 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2229, allocations: 51.41 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.223, allocations: 105.8 kB / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.223, allocations: 29.7 kB / 0.79 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.223, allocations: 88.12 kB / 0.7901 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.2231, allocations: 11.91 kB / 0.7901 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.2231, allocations: 0 / 0.7901 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.2232, allocations: 314.8 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2233, allocations: 43.95 kB / 0.7905 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2235, allocations: 43.97 kB / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.2236, allocations: 43.95 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2236, allocations: 4 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003421/0.224, allocations: 129.4 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.224, allocations: 4 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.224, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.224, allocations: 0 / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2242, allocations: 19.98 kB / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2242, allocations: 0 / 0.7907 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.2243, allocations: 23.97 kB / 0.7907 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2243, allocations: 4 kB / 0.7907 GB, free: 8.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.2244, allocations: 113.8 kB / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2244, allocations: 0 / 0.7908 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.2248, allocations: 141.3 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2248, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2248, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2248, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.225, allocations: 177.6 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.225, allocations: 0 / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.2251, allocations: 19.98 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2251, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2251, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2251, allocations: 4 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2251, allocations: 0 / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.2255, allocations: 231.4 kB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.2256, allocations: 84.95 kB / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2256, allocations: 0 / 0.7915 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2257, allocations: 15.98 kB / 0.7915 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.2258, allocations: 7.984 kB / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2258, allocations: 0 / 0.7915 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.2258, allocations: 83.28 kB / 0.7916 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2258, allocations: 4 kB / 0.7916 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002101/0.226, allocations: 8 kB / 0.7916 GB, free: 7.074 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 (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.0006022/0.2266, allocations: 0.7476 MB / 0.7923 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.227, allocations: 92.19 kB / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.227, allocations: 0 / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2271, allocations: 51.95 kB / 0.7925 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2274, allocations: 8 kB / 0.7925 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.2278, allocations: 158.5 kB / 0.7926 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.2281, allocations: 0.6848 MB / 0.7933 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.2281, allocations: 3.984 kB / 0.7933 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.2282, allocations: 19.42 kB / 0.7933 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2282, allocations: 0 / 0.7933 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.427/2.655, allocations: 1.266 MB / 0.7945 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/2.655, allocations: 203 kB / 0.7947 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/5.244, allocations: 0 / 0.7947 GB, free: 3.832 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/linux/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) Environment - environmentSimulation: