Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.0009864/0.0009864, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.007091/0.007091, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.242/1.242, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.599/1.599, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004823/0.0004824, allocations: 15.84 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.0008771/0.1775, allocations: 0.5633 MB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.908e-05/0.1776, allocations: 43.78 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.1777, allocations: 11.94 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.1777, allocations: 7.922 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.1778, allocations: 3.938 kB / 0.7886 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.012e-05/0.1778, allocations: 15.98 kB / 0.7886 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.1779, allocations: 59.84 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.178, allocations: 45.38 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.1781, allocations: 23.8 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1781, allocations: 23.8 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1782, allocations: 4 kB / 0.7888 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-06/0.1782, allocations: 0 / 0.7888 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.1782, allocations: 11.94 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.1782, allocations: 53.44 kB / 0.7888 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.537e-05/0.1783, allocations: 79.89 kB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1783, allocations: 0 / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1784, allocations: 4 kB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1784, allocations: 3.938 kB / 0.7889 GB, free: 10.52 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.0003383/0.1787, allocations: 371.2 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1787, allocations: 8.031 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.1788, allocations: 42.73 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.1788, allocations: 8.844 kB / 0.7893 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.179, allocations: 192.2 kB / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.179, allocations: 12.28 kB / 0.7895 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.179, allocations: 8.375 kB / 0.7895 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1792, allocations: 95.94 kB / 0.7896 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1792, allocations: 7.875 kB / 0.7896 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1792, allocations: 4 kB / 0.7896 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1792, allocations: 4 kB / 0.7896 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.1793, allocations: 35.98 kB / 0.7897 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1798, allocations: 452.6 kB / 0.7901 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.1798, allocations: 46.2 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.1799, allocations: 21.78 kB / 0.7902 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.1799, allocations: 0 / 0.7902 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1799, allocations: 42.5 kB / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1799, allocations: 0 / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.1801, allocations: 53.53 kB / 0.7903 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1801, allocations: 89.05 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1803, allocations: 167.3 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1803, allocations: 25.7 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.1804, allocations: 108.2 kB / 0.7906 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.1804, allocations: 7.906 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1804, allocations: 17.7 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.1805, allocations: 314.8 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.1805, allocations: 11.98 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.1805, allocations: 21.72 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.1806, allocations: 25.72 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1806, allocations: 7.938 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.475e-05/0.1807, allocations: 57.59 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1807, allocations: 7.938 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1807, allocations: 0 / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1807, allocations: 4 kB / 0.7911 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.1808, allocations: 4 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1808, allocations: 3.938 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.1808, allocations: 7.906 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1809, allocations: 4 kB / 0.7911 GB, free: 7.996 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 6.352e-05/0.1809, allocations: 121.8 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.181, allocations: 15.78 kB / 0.7912 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.181, allocations: 12.55 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.181, allocations: 0 / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.181, allocations: 0 / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.181, allocations: 4 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.1814, allocations: 482.8 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1814, allocations: 0 / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.1814, allocations: 4 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1814, allocations: 0 / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1814, allocations: 4 kB / 0.7917 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1814, allocations: 3.938 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1814, allocations: 0 / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.1815, allocations: 97.73 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1816, allocations: 81.02 kB / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1816, allocations: 4 kB / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.1816, allocations: 0 / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1816, allocations: 3.984 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1817, allocations: 0 / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.257e-05/0.1817, allocations: 128 kB / 0.792 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.792 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000181/0.1819, allocations: 8 kB / 0.792 GB, free: 6.934 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.0003084/0.1822, allocations: 0.6171 MB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.728e-05/0.1823, allocations: 19.94 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1823, allocations: 160 / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.1823, allocations: 12 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.1825, allocations: 10.97 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1836, allocations: 1.389 MB / 0.794 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.1838, allocations: 0.6965 MB / 0.7947 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.1838, allocations: 4.438 kB / 0.7947 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1839, allocations: 27.42 kB / 0.7947 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.1839, allocations: 4 kB / 0.7948 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009727/0.1936, allocations: 1.468 MB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.1938, allocations: 214.7 kB / 0.7964 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.871, allocations: 3.938 kB / 0.7964 GB, free: 2.41 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)