Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 249.5 MB / 257 MB, free: 7.008 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.0009724/0.000972, allocations: 184.3 kB / 316.3 MB, free: 3.211 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.584/1.584, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008344/0.0008343, allocations: 97.05 kB / 0.6714 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.232e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1875, allocations: 106.4 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6673/0.8548, allocations: 131.6 MB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.855, allocations: 67.64 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002478/0.8575, allocations: 1.145 MB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.61e-07/0.8575, allocations: 0 / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8575, allocations: 8 kB / 1.015 GB, free: 4.754 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.0002891/0.8578, allocations: 369.1 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.8579, allocations: 8.031 kB / 1.015 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.8579, allocations: 12.75 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.858, allocations: 178.8 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.858, allocations: 4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.8581, allocations: 4 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.287e-05/0.8581, allocations: 33.81 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.8583, allocations: 89.14 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-06/0.8583, allocations: 0 / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.8583, allocations: 0 / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8583, allocations: 4 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.8587, allocations: 426.1 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/0.8588, allocations: 40.38 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.8588, allocations: 17.22 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.8588, allocations: 4 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.8588, allocations: 37.3 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8588, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001047/0.8589, allocations: 44.48 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.859, allocations: 81.11 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.8591, allocations: 122.3 kB / 1.016 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.8591, allocations: 25.7 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.8592, allocations: 121.5 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.8592, allocations: 7.906 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.8592, allocations: 0 / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8593, allocations: 317.1 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.8593, allocations: 4 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.8593, allocations: 24.58 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.8594, allocations: 8 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.8594, allocations: 4 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.8594, allocations: 60.19 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.8595, allocations: 4 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8595, allocations: 3.984 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.8595, allocations: 4 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.8595, allocations: 4 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-06/0.8595, allocations: 0 / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.8596, allocations: 7.938 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.8596, allocations: 0 / 1.017 GB, free: 2.605 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 5.798e-05/0.8597, allocations: 105 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.183e-05/0.8598, allocations: 52.94 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.8598, allocations: 7.984 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.8598, allocations: 15.52 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8598, allocations: 0 / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.8598, allocations: 3.938 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.8598, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.8602, allocations: 459.5 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8602, allocations: 4 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.8602, allocations: 0.875 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.8602, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.8602, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8603, allocations: 0.7812 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8603, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.439e-05/0.8603, allocations: 93.72 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.8604, allocations: 89 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.8604, allocations: 7.062 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.8604, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.8605, allocations: 7.188 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.8605, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.8605, allocations: 104.9 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8605, allocations: 4.031 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001711/0.8607, allocations: 11.91 kB / 1.018 GB, free: 1.594 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.0003356/0.8611, allocations: 0.6888 MB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.96e-05/0.8611, allocations: 22.98 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.8611, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.8611, allocations: 7.312 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.991e-05/0.8612, allocations: 10.02 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.8615, allocations: 132.9 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.8618, allocations: 0.7121 MB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.8618, allocations: 192 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.8618, allocations: 28.11 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.8619, allocations: 3.938 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.8793, allocations: 0.9826 MB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.8797, allocations: 166.1 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.327/2.207, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)