Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_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.000891/0.000891, 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.0009694/0.0009694, allocations: 177.3 kB / 15.94 MB, free: 228 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.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.686/1.686, 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.000505/0.0005051, allocations: 16.66 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.27, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.0009409/0.271, allocations: 0.5403 MB / 0.7877 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.2711, allocations: 51.77 kB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.2712, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2712, allocations: 7.875 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.2713, allocations: 8 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.359e-05/0.2714, allocations: 15.98 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.2714, allocations: 47.88 kB / 0.7879 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2716, allocations: 25.58 kB / 0.7879 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.2716, allocations: 23.86 kB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.2717, allocations: 31.78 kB / 0.788 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2717, allocations: 4 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-06/0.2717, allocations: 3.938 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2718, allocations: 7.938 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2718, allocations: 37.64 kB / 0.788 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.2719, allocations: 56.09 kB / 0.7881 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2719, allocations: 4 kB / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2719, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2719, allocations: 0 / 0.7881 GB, free: 11.01 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.0003408/0.2722, allocations: 377.8 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2723, allocations: 12.03 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2723, allocations: 38.55 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.2723, allocations: 11.91 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2725, allocations: 209.7 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2726, allocations: 7.984 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2726, allocations: 8 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2727, allocations: 88.59 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2727, allocations: 4 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2728, allocations: 4 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2728, allocations: 0 / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.2728, allocations: 39.92 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.2733, allocations: 448.5 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.2734, allocations: 45.3 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-06/0.2734, allocations: 0 / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2734, allocations: 30.56 kB / 0.7893 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2735, allocations: 0 / 0.7893 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.2736, allocations: 57.84 kB / 0.7894 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2737, allocations: 81.11 kB / 0.7895 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2738, allocations: 171.3 kB / 0.7896 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2738, allocations: 25.7 kB / 0.7896 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.2739, allocations: 115.9 kB / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.2739, allocations: 3.984 kB / 0.7898 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.2739, allocations: 0 / 0.7898 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.274, allocations: 322.8 kB / 0.7901 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.2741, allocations: 7.984 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.2741, allocations: 29.66 kB / 0.7901 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.2741, allocations: 4 kB / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2741, allocations: 0 / 0.7901 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.162e-05/0.2742, allocations: 73.39 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2742, allocations: 4 kB / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2742, allocations: 0 / 0.7902 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2743, allocations: 4 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.2743, allocations: 12 kB / 0.7902 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2743, allocations: 0 / 0.7902 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.2744, allocations: 4 kB / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2744, allocations: 4 kB / 0.7902 GB, free: 8.562 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 7.195e-05/0.2745, allocations: 109.8 kB / 0.7903 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.2745, allocations: 15.86 kB / 0.7903 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.2746, allocations: 12.55 kB / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2746, allocations: 0 / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2746, allocations: 0 / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2746, allocations: 8 kB / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.275, allocations: 494.6 kB / 0.7908 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.275, allocations: 0 / 0.7908 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.275, allocations: 4 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.275, allocations: 0 / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2751, allocations: 4 kB / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2751, allocations: 0 / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2751, allocations: 4.062 kB / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.979e-05/0.2752, allocations: 99.5 kB / 0.7909 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.2752, allocations: 81.02 kB / 0.791 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.2752, allocations: 4 kB / 0.791 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.2753, allocations: 0 / 0.791 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.2753, allocations: 8.016 kB / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2753, allocations: 8 kB / 0.791 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.2754, allocations: 124 kB / 0.7911 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2754, allocations: 0 / 0.7911 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001769/0.2756, allocations: 8 kB / 0.7911 GB, free: 7.48 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.0003559/0.2759, allocations: 0.7069 MB / 0.7918 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.629e-05/0.276, allocations: 16 kB / 0.7918 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.276, allocations: 0 / 0.7918 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.276, allocations: 11.88 kB / 0.7919 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.2762, allocations: 8 kB / 0.7919 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.277, allocations: 0.739 MB / 0.7926 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2773, allocations: 0.7004 MB / 0.7933 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.2774, allocations: 4.438 kB / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.2774, allocations: 23.42 kB / 0.7933 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2774, allocations: 0 / 0.7933 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.2881, allocations: 1.587 MB / 0.7948 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.2883, allocations: 181.4 kB / 0.795 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/2.848, allocations: 0 / 0.795 GB, free: 3.473 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) Environment - environmentSimulation: