Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 176.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.3 MB / 0.5671 GB, free: 15.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000841/0.0008411, allocations: 84.19 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.933e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7701/0.9855, allocations: 131.6 MB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.9858, allocations: 70.14 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002549/0.9883, allocations: 1.146 MB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9884, allocations: 0 / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.9884, allocations: 4 kB / 1.015 GB, free: 4.699 MB / 0.6355 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.0003498/0.9887, allocations: 376.5 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9888, allocations: 12.03 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.9888, allocations: 7.906 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.989, allocations: 182.9 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.989, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.989, allocations: 12 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.389e-05/0.9891, allocations: 27.44 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.9892, allocations: 86.83 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9893, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9893, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9893, allocations: 0 / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.9898, allocations: 420.4 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.9899, allocations: 37.34 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.9899, allocations: 21.66 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.9899, allocations: 0 / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.9899, allocations: 33.3 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9899, allocations: 0 / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.9901, allocations: 49.36 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.9901, allocations: 77.11 kB / 1.016 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.9903, allocations: 126.5 kB / 1.016 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.9903, allocations: 25.7 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.9904, allocations: 115.8 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.9904, allocations: 7.891 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.9904, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.9905, allocations: 317.1 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.9905, allocations: 7.875 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.9905, allocations: 21.59 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.9906, allocations: 11.98 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.9906, allocations: 0 / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.854e-05/0.9907, allocations: 61.19 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9907, allocations: 9.25 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9907, allocations: 0.75 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.9907, allocations: 0.875 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.9908, allocations: 7.984 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9908, allocations: 4 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.9909, allocations: 8 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.9909, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 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 () * 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.88e-05/0.991, allocations: 105 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.521e-05/0.991, allocations: 53.38 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.9911, allocations: 3.938 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.9911, allocations: 24 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.9911, allocations: 0 / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9911, allocations: 3.938 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9912, allocations: 8.062 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.9915, allocations: 454.8 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9915, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.9915, allocations: 4.094 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.9915, allocations: 3.984 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.9916, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9916, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9916, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.146e-05/0.9917, allocations: 91.34 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.9917, allocations: 84.77 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9917, allocations: 4 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.157e-05/0.9918, allocations: 3.984 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.9918, allocations: 4.031 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.9918, allocations: 0 / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.9918, allocations: 100.3 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9919, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001778/0.992, allocations: 11.91 kB / 1.018 GB, free: 1.547 MB / 0.6355 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 () * 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.0003739/0.9924, allocations: 0.7004 MB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.9925, allocations: 15.62 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9925, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.9925, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.9926, allocations: 15.69 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.993, allocations: 142.7 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.9932, allocations: 0.6963 MB / 1.019 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.9933, allocations: 8.172 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.9933, allocations: 18.69 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9933, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/1.012, allocations: 0.9761 MB / 1.02 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.013, allocations: 173.4 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.325/2.337, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)