Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.001311/0.001311, allocations: 109.4 kB / 15.69 MB, free: 124 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.001112/0.001112, allocations: 189.1 kB / 16.62 MB, free: 6.578 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.647/1.647, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001451/0.001451, allocations: 79.47 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2201, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00248/0.2226, allocations: 0.8565 MB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.2228, allocations: 47.72 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.2229, allocations: 0 / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.223, allocations: 11.86 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.2231, allocations: 11.88 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.534e-05/0.2231, allocations: 19.98 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2233, allocations: 67.77 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2234, allocations: 45.38 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.2235, allocations: 27.86 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.2236, allocations: 35.78 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2236, allocations: 4 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.2236, allocations: 8 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2237, allocations: 19.92 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.2237, allocations: 39.73 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2238, allocations: 91.78 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2238, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2238, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2239, allocations: 4 kB / 0.7849 GB, free: 11.94 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.0004241/0.2243, allocations: 383.1 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2243, allocations: 12.03 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.2244, allocations: 38.75 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2244, allocations: 16.75 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2246, allocations: 204.1 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.2246, allocations: 384 / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2246, allocations: 12.38 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2248, allocations: 90.45 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2248, allocations: 3.938 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2248, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2248, allocations: 4 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.043e-05/0.2249, allocations: 47.84 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.2254, allocations: 440.5 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.2255, allocations: 45.27 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.2255, allocations: 13.84 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.2255, allocations: 4 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2256, allocations: 34.56 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2256, allocations: 0 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.2258, allocations: 61.48 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2258, allocations: 81.09 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.226, allocations: 169.4 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.226, allocations: 25.95 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2261, allocations: 112 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.2261, allocations: 11.89 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.2261, allocations: 13.72 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.2262, allocations: 322.8 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.2263, allocations: 11.94 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.2263, allocations: 17.72 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.2264, allocations: 33.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2264, allocations: 0 / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/0.2264, allocations: 65.48 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2265, allocations: 7.938 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2265, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2265, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.2266, allocations: 11.98 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2266, allocations: 0 / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.2266, allocations: 7.969 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.2266, allocations: 4 kB / 0.7871 GB, free: 9.41 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 7.831e-05/0.2267, allocations: 118.4 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.2268, allocations: 11.84 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.2268, allocations: 16.55 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2268, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2268, allocations: 0 / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2268, allocations: 3.938 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.2272, allocations: 478.8 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2272, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.2273, allocations: 7.938 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2273, allocations: 4.078 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.2273, allocations: 0 / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2273, allocations: 8 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2273, allocations: 3.984 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.561e-05/0.2274, allocations: 77.91 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.2274, allocations: 100.8 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2275, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.2275, allocations: 4 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.2275, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.2275, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.886e-05/0.2276, allocations: 134 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2276, allocations: 0 / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001801/0.2278, allocations: 12.03 kB / 0.788 GB, free: 8.34 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.0003468/0.2282, allocations: 0.6132 MB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.2283, allocations: 27.95 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2283, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.2283, allocations: 8 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.2284, allocations: 8 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2297, allocations: 1.378 MB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.23, allocations: 0.7002 MB / 0.7907 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.2301, allocations: 12.41 kB / 0.7907 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.2301, allocations: 23.44 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2301, allocations: 0 / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.2466, allocations: 1.673 MB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.949, allocations: 11.94 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)