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.303/1.303, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009179/0.0009179, allocations: 179.6 kB / 325.9 MB, free: 2.68 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.416/1.416, allocations: 205 MB / 0.576 GB, free: 21.03 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.0006857/0.0006854, allocations: 99.06 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 8.719 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.0007674/0.151, allocations: 0.5959 MB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.24e-05/0.1511, allocations: 47.7 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.1511, allocations: 0 / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1512, allocations: 3.938 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.1512, allocations: 7.938 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.342e-05/0.1513, allocations: 19.98 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.1514, allocations: 59.84 kB / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1515, allocations: 45.59 kB / 0.897 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.1515, allocations: 23.8 kB / 0.897 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1515, allocations: 23.8 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1516, allocations: 0 / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-06/0.1516, allocations: 8 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1516, allocations: 7.938 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.1516, allocations: 35.73 kB / 0.8971 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.538e-05/0.1517, allocations: 63.73 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1517, allocations: 3.938 kB / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1517, allocations: 0 / 0.8971 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.1517, allocations: 0 / 0.8971 GB, free: 67.11 MB / 0.6042 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.0002663/0.152, allocations: 371.3 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.152, allocations: 8.031 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.1521, allocations: 46.73 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.1521, allocations: 16.69 kB / 0.8975 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1522, allocations: 196.1 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1522, allocations: 8.375 kB / 0.8977 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1522, allocations: 8.375 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1524, allocations: 88.7 kB / 0.8978 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1524, allocations: 3.938 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1524, allocations: 8 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1524, allocations: 4 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.1525, allocations: 35.98 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.1528, allocations: 452.5 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.1529, allocations: 37.22 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.1529, allocations: 17.78 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.1529, allocations: 0 / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.1529, allocations: 34.59 kB / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1529, allocations: 0 / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.1531, allocations: 65.72 kB / 0.8985 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.1531, allocations: 81.11 kB / 0.8985 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.1532, allocations: 166.2 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-06/0.1532, allocations: 25.7 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.1532, allocations: 115.9 kB / 0.8988 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.1532, allocations: 11.89 kB / 0.8988 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.1533, allocations: 9.719 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.1533, allocations: 322.8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.1533, allocations: 7.984 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.1534, allocations: 21.72 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.1534, allocations: 33.66 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1534, allocations: 0 / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.361e-05/0.1535, allocations: 57.59 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.1535, allocations: 14.75 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1535, allocations: 3.938 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1535, allocations: 4.062 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.1536, allocations: 8 kB / 0.8993 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1536, allocations: 3.938 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.1536, allocations: 3.938 kB / 0.8993 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.1536, allocations: 8 kB / 0.8993 GB, free: 64.59 MB / 0.6042 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 4.115e-05/0.1537, allocations: 113.8 kB / 0.8994 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1537, allocations: 19.73 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.1537, allocations: 12.56 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1537, allocations: 96 / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1537, allocations: 4 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1537, allocations: 7.922 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.154, allocations: 478.8 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.154, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.154, allocations: 4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.154, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.154, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.154, allocations: 4.062 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.154, allocations: 4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.206e-05/0.1541, allocations: 85.77 kB / 0.9 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.1541, allocations: 85.02 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1542, allocations: 3.984 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.1542, allocations: 4 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-06/0.1542, allocations: 8.031 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.1542, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.1543, allocations: 124.9 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1543, allocations: 0 / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001686/0.1544, allocations: 8 kB / 0.9002 GB, free: 63.54 MB / 0.6042 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.0001752/0.1546, allocations: 0.6248 MB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.196e-05/0.1547, allocations: 20 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1547, allocations: 0 / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.1547, allocations: 4 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1549, allocations: 14.94 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.1556, allocations: 1.396 MB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.02e-05/0.1557, allocations: 0.7004 MB / 0.9029 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.1557, allocations: 8.422 kB / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.1557, allocations: 19.44 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1557, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.173/0.3287, allocations: 1.479 MB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.3289, allocations: 223.2 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.842, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 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)