Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.038/2.038, allocations: 288.4 MB / 303.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 181.6 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007442/0.0007442, allocations: 102.2 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 19.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2022, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00118/0.2035, allocations: 0.5251 MB / 0.9802 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.2037, allocations: 43.77 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.2037, allocations: 4 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.2038, allocations: 3.938 kB / 0.9802 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2039, allocations: 3.938 kB / 0.9802 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.57e-05/0.204, allocations: 19.92 kB / 0.9802 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.683e-05/0.2041, allocations: 59.84 kB / 0.9803 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2042, allocations: 37.56 kB / 0.9803 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.547e-05/0.2043, allocations: 19.81 kB / 0.9803 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.2043, allocations: 23.8 kB / 0.9804 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2044, allocations: 0 / 0.9804 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.2044, allocations: 4 kB / 0.9804 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.2044, allocations: 19.91 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.2044, allocations: 37.64 kB / 0.9804 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.032e-05/0.2045, allocations: 60.09 kB / 0.9805 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2046, allocations: 0 / 0.9805 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2046, allocations: 0 / 0.9805 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2046, allocations: 0 / 0.9805 GB, free: 26.72 MB / 0.6198 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.0004094/0.205, allocations: 375 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.205, allocations: 12.02 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.2051, allocations: 42.55 kB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.2051, allocations: 11.91 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.2053, allocations: 202.8 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2054, allocations: 4 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2054, allocations: 8 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2055, allocations: 91.38 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2056, allocations: 0 / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2056, allocations: 4 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2056, allocations: 0 / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.2057, allocations: 43.92 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.2062, allocations: 440.5 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.2063, allocations: 53.36 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.2063, allocations: 9.719 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.2063, allocations: 4 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2063, allocations: 30.56 kB / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2064, allocations: 0 / 0.9818 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001769/0.2065, allocations: 61.53 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2066, allocations: 85.3 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2067, allocations: 165.9 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.2067, allocations: 25.7 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.2068, allocations: 111.9 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.2068, allocations: 0 / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.2068, allocations: 8 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.2069, allocations: 322.8 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.2069, allocations: 7.938 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.2069, allocations: 25.7 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.207, allocations: 12 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.207, allocations: 0 / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.075e-05/0.2071, allocations: 69.41 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2071, allocations: 8 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2071, allocations: 0 / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2071, allocations: 0 / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.2072, allocations: 11.98 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2072, allocations: 4.062 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.2073, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2073, allocations: 4 kB / 0.9826 GB, free: 24.25 MB / 0.6198 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 6.135e-05/0.2073, allocations: 113.8 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.2074, allocations: 11.86 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2074, allocations: 16.55 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2074, allocations: 0 / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2074, allocations: 0 / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2074, allocations: 0 / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.2078, allocations: 486.6 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2078, allocations: 0 / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.2078, allocations: 4 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2078, allocations: 3.984 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2078, allocations: 96 / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2078, allocations: 7.922 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2078, allocations: 4 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.316e-05/0.2079, allocations: 85.91 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.208, allocations: 89 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.208, allocations: 4 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.208, allocations: 0 / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.208, allocations: 4 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.208, allocations: 0 / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.2081, allocations: 128.9 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2081, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001778/0.2083, allocations: 15.98 kB / 0.9836 GB, free: 23.18 MB / 0.6198 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.0002831/0.2086, allocations: 0.617 MB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.2087, allocations: 31.89 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2087, allocations: 0 / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.2087, allocations: 4 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2089, allocations: 10.75 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.2096, allocations: 0.5902 MB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2098, allocations: 0.7004 MB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2098, allocations: 4.438 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.2099, allocations: 23.42 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2099, allocations: 0 / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2216, allocations: 1.595 MB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.2218, allocations: 212 kB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.884, allocations: 0 / 0.9873 GB, free: 19.43 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)