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.448/1.448, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 187 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.4 MB / 0.5775 GB, free: 20.19 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.0009606/0.0009608, allocations: 82.38 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 11.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.5608, allocations: 131.4 MB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5611, allocations: 67.97 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002906/0.564, allocations: 1.161 MB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5641, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5641, allocations: 4.219 kB / 1.03 GB, free: 10.98 MB / 0.6823 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.0004339/0.5645, allocations: 382.9 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5646, allocations: 8.031 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.5646, allocations: 42.55 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.5647, allocations: 11.81 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.5649, allocations: 185 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5649, allocations: 8 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.5649, allocations: 7.984 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.5651, allocations: 91.39 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5651, allocations: 0 / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5651, allocations: 4 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5651, allocations: 4 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.5652, allocations: 39.92 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.5658, allocations: 456.5 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/0.5659, allocations: 41.34 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.566, allocations: 7.984 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.566, allocations: 34.56 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.566, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/0.5662, allocations: 53.61 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.5663, allocations: 77.11 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5664, allocations: 161.2 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.5665, allocations: 25.95 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.5666, allocations: 112 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.5666, allocations: 11.78 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.5666, allocations: 0 / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5667, allocations: 323.5 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.5667, allocations: 8 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.5668, allocations: 17.72 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.5668, allocations: 8 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5668, allocations: 7.953 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.66e-05/0.5669, allocations: 65.53 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5669, allocations: 8 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.567, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.567, allocations: 3.938 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.5671, allocations: 4 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5671, allocations: 7.984 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.5671, allocations: 7.844 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.5671, allocations: 4 kB / 1.032 GB, free: 8.539 MB / 0.6823 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 8.045e-05/0.5672, allocations: 113.9 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.5673, allocations: 15.86 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.5673, allocations: 8.562 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5673, allocations: 4 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5673, allocations: 0 / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5673, allocations: 3.984 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.5678, allocations: 482.8 kB / 1.032 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5678, allocations: 0 / 1.032 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.5678, allocations: 8 kB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5678, allocations: 0 / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.5678, allocations: 3.984 kB / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.5678, allocations: 0 / 1.032 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5678, allocations: 3.938 kB / 1.032 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.5679, allocations: 99.72 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.568, allocations: 89 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.568, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.5681, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.5681, allocations: 4 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.5681, allocations: 0 / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.5682, allocations: 132.9 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5682, allocations: 0 / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000175/0.5684, allocations: 19.88 kB / 1.033 GB, free: 7.453 MB / 0.6823 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.0004628/0.5689, allocations: 0.6969 MB / 1.033 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.404e-05/0.5689, allocations: 24.02 kB / 1.033 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.569, allocations: 0 / 1.033 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.569, allocations: 7.938 kB / 1.033 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.5691, allocations: 4 kB / 1.033 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.5701, allocations: 0.7573 MB / 1.034 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.5704, allocations: 0.7004 MB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.5705, allocations: 8.422 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.5705, allocations: 23.42 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.5705, allocations: 0 / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.583, allocations: 1.576 MB / 1.036 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.5832, allocations: 209.1 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.068, allocations: 0 / 1.037 GB, free: 3.457 MB / 0.6823 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)