Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.001266/0.001266, allocations: 99.62 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.001314/0.001314, 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 2.044/2.044, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.833/1.833, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005354/0.0005359, allocations: 15.53 kB / 0.6737 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 116.3 MB / 0.7873 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.0006644/0.243, allocations: 425 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006349/0.2437, allocations: 0.7949 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.2437, allocations: 3.938 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.2437, allocations: 3.938 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.2438, allocations: 7.984 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.077e-05/0.2438, allocations: 15.98 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.2439, allocations: 19.97 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.244, allocations: 8 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.244, allocations: 15.92 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.2441, allocations: 19.91 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2441, allocations: 4 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.2441, allocations: 3.938 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.2441, allocations: 3.984 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.2441, allocations: 37.64 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.415e-05/0.2442, allocations: 27.94 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2442, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2442, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2442, allocations: 0 / 0.7886 GB, free: 10.48 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.0003703/0.2446, allocations: 363.5 kB / 0.7889 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.2446, allocations: 16.03 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.2447, allocations: 34.56 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.2447, allocations: 7.891 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.698e-05/0.2448, allocations: 171 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.2448, allocations: 0 / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.2448, allocations: 4 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.245, allocations: 77.66 kB / 0.7892 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.245, allocations: 7.984 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.245, allocations: 0 / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2451, allocations: 0 / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.2453, allocations: 91.86 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.2456, allocations: 264.9 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2458, allocations: 70.53 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.2458, allocations: 0 / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2458, allocations: 34.5 kB / 0.7897 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.2458, allocations: 0 / 0.7897 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004923/0.2463, allocations: 165.6 kB / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.2464, allocations: 51.41 kB / 0.7899 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.2464, allocations: 105.8 kB / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.2465, allocations: 29.64 kB / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2465, allocations: 92.12 kB / 0.7901 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.2465, allocations: 11.89 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.2465, allocations: 0 / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.2466, allocations: 322.8 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2468, allocations: 39.95 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2469, allocations: 43.97 kB / 0.7905 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.247, allocations: 51.89 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.247, allocations: 0 / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003025/0.2473, allocations: 121.5 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.2474, allocations: 4 kB / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2474, allocations: 0 / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.2474, allocations: 0 / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.2475, allocations: 19.98 kB / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-06/0.2475, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.2476, allocations: 23.92 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2476, allocations: 0 / 0.7907 GB, free: 8.082 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 6.32e-05/0.2477, allocations: 121.8 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.2477, allocations: 0 / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.2477, allocations: 11.91 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2477, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2477, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2477, allocations: 4 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.2479, allocations: 177.5 kB / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2479, allocations: 3.984 kB / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.248, allocations: 23.92 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.248, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.248, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.248, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.248, allocations: 0 / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.2484, allocations: 219.8 kB / 0.7913 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.2484, allocations: 85.09 kB / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.2484, allocations: 0 / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2485, allocations: 16.03 kB / 0.7914 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.2486, allocations: 7.984 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2486, allocations: 3.984 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.2486, allocations: 95.52 kB / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2486, allocations: 0 / 0.7915 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001986/0.2488, allocations: 15.91 kB / 0.7915 GB, free: 7.215 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.0005246/0.2493, allocations: 0.7514 MB / 0.7922 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.2496, allocations: 91.92 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2497, allocations: 0 / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2498, allocations: 47.91 kB / 0.7923 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.25, allocations: 7.984 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.2503, allocations: 158.4 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.2505, allocations: 0.6848 MB / 0.7932 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.2505, allocations: 4 kB / 0.7932 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.2506, allocations: 11.44 kB / 0.7932 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2506, allocations: 0 / 0.7932 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1896/0.4402, allocations: 1.276 MB / 0.7944 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.4404, allocations: 183.7 kB / 0.7946 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.002, allocations: 0 / 0.7946 GB, free: 3.996 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1) Environment - environmentSimulation: