Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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_degC,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.001112/0.001112, allocations: 109.4 kB / 15.69 MB, free: 128 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.001187/0.001187, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.827/1.827, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001485/0.001485, allocations: 67.44 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2727, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003175/0.2759, allocations: 0.876 MB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.2761, allocations: 47.78 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.2762, allocations: 0 / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.738e-05/0.2764, allocations: 15.8 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.2765, allocations: 11.88 kB / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.224e-05/0.2766, allocations: 19.98 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.2768, allocations: 79.7 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.277, allocations: 45.09 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.2771, allocations: 27.86 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.2772, allocations: 39.72 kB / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.2772, allocations: 8 kB / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.2772, allocations: 4 kB / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.2773, allocations: 23.92 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.2773, allocations: 43.69 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.2775, allocations: 87.89 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2775, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2775, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2776, allocations: 0 / 0.7849 GB, free: 11.95 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.0006693/0.2782, allocations: 399 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.2783, allocations: 8.031 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/0.2784, allocations: 50.61 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.2784, allocations: 16.75 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.2788, allocations: 200.1 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2788, allocations: 4.375 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.2788, allocations: 8.375 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.279, allocations: 100.7 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2791, allocations: 3.938 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2791, allocations: 4 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2791, allocations: 4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2792, allocations: 39.98 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008556/0.2801, allocations: 444.6 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.2802, allocations: 41.28 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.2802, allocations: 17.7 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2803, allocations: 8.031 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2803, allocations: 30.56 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.2803, allocations: 0 / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002617/0.2806, allocations: 69.38 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.2807, allocations: 77.11 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.2809, allocations: 179.5 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.281, allocations: 25.7 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.2811, allocations: 112 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.2811, allocations: 3.906 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.2811, allocations: 17.72 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002696/0.2814, allocations: 322.8 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.2815, allocations: 12 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.2815, allocations: 17.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.2816, allocations: 33.66 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2816, allocations: 4 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.2817, allocations: 57.59 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2818, allocations: 14.59 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2818, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2818, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.2819, allocations: 7.938 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2819, allocations: 8.062 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.282, allocations: 7.844 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.282, allocations: 4 kB / 0.7872 GB, free: 9.367 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.2821, allocations: 114.9 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.2822, allocations: 11.84 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.2822, allocations: 16.55 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2823, allocations: 0 / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2823, allocations: 3.938 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2823, allocations: 3.938 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.2828, allocations: 490.7 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2829, allocations: 4 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.2829, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.2829, allocations: 4 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2829, allocations: 0 / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2829, allocations: 0 / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2829, allocations: 0 / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.2831, allocations: 93.83 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.2832, allocations: 92.91 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.2832, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.369e-05/0.2832, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.2833, allocations: 4 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2833, allocations: 0 / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002258/0.2835, allocations: 136.3 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2835, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003304/0.2839, allocations: 12 kB / 0.7881 GB, free: 8.289 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 (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.0005559/0.2844, allocations: 0.621 MB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2845, allocations: 19.98 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2846, allocations: 4 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.2846, allocations: 7.938 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2848, allocations: 14.69 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.2868, allocations: 1.415 MB / 0.7901 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.2871, allocations: 0.6963 MB / 0.7908 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.517e-05/0.2872, allocations: 8.422 kB / 0.7908 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.2873, allocations: 23.44 kB / 0.7908 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of SimCode: time 8.12e-07/0.2873, allocations: 0 / 0.7908 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.3125, allocations: 1.709 MB / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.833, allocations: 9.266 kB / 0.7925 GB, free: 3.699 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1)