Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.0008608/0.0008609, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001011/0.001011, allocations: 172.7 kB / 15.95 MB, free: 208 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.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.775/1.775, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005162/0.0005162, allocations: 15.38 kB / 0.6738 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3032, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001111/0.3043, allocations: 0.5325 MB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.3045, allocations: 51.77 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.3046, allocations: 0 / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3046, allocations: 7.875 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3048, allocations: 19.84 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.965e-05/0.3048, allocations: 12 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.305, allocations: 59.84 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3051, allocations: 33.56 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.3052, allocations: 19.88 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.3053, allocations: 27.78 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3053, allocations: 0 / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.3053, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3053, allocations: 3.938 kB / 0.7881 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.3054, allocations: 37.64 kB / 0.7882 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3055, allocations: 72.08 kB / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3055, allocations: 0 / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3055, allocations: 0 / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3055, allocations: 0 / 0.7883 GB, free: 10.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004628/0.306, allocations: 374.9 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.306, allocations: 8.031 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.3061, allocations: 46.55 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3061, allocations: 7.906 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.3064, allocations: 194.8 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3064, allocations: 11.94 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3064, allocations: 8 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3066, allocations: 87.39 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3066, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3067, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3067, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.3068, allocations: 43.91 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.3074, allocations: 452.6 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.3075, allocations: 49.2 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.3076, allocations: 14.84 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.3076, allocations: 8 kB / 0.7895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3076, allocations: 34.55 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.3076, allocations: 0 / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.3078, allocations: 53.55 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.3079, allocations: 81.05 kB / 0.7897 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3081, allocations: 171.6 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3081, allocations: 29.7 kB / 0.7899 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.3082, allocations: 111.9 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.3082, allocations: 11.89 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.3082, allocations: 0 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3083, allocations: 314.8 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.3084, allocations: 11.98 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.3084, allocations: 21.66 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.3084, allocations: 12 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3084, allocations: 0 / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.3086, allocations: 65.55 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3086, allocations: 6.812 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3086, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3086, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.3087, allocations: 11.94 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3087, allocations: 3.984 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.3087, allocations: 4 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3088, allocations: 4.062 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 9.148e-05/0.3089, allocations: 113.8 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3089, allocations: 19.77 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.309, allocations: 20.48 kB / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.309, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.309, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.309, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.3094, allocations: 486.7 kB / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3094, allocations: 0 / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.3095, allocations: 8 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3095, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3095, allocations: 0 / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3095, allocations: 4 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3095, allocations: 0 / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.3096, allocations: 85.84 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.3097, allocations: 89.02 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3097, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.3098, allocations: 7.938 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.3098, allocations: 3.984 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3098, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3099, allocations: 128 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3099, allocations: 0 / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001931/0.3101, allocations: 8 kB / 0.7913 GB, free: 7.422 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004378/0.3105, allocations: 0.6248 MB / 0.792 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.3106, allocations: 12 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3107, allocations: 4.156 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.3107, allocations: 11.94 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.3109, allocations: 4 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.3118, allocations: 0.5917 MB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3121, allocations: 0.6965 MB / 0.7932 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.3122, allocations: 12.42 kB / 0.7933 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.3122, allocations: 23.44 kB / 0.7933 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.3122, allocations: 0 / 0.7933 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.3262, allocations: 1.585 MB / 0.7948 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.3265, allocations: 201.5 kB / 0.795 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.215, allocations: 0 / 0.795 GB, free: 3.641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) Environment - environmentSimulation: