Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007514/0.0007516, allocations: 16.25 kB / 0.6738 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2541, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001104/0.2553, allocations: 0.5325 MB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.2555, allocations: 47.77 kB / 0.788 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.2556, allocations: 7.938 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.2557, allocations: 3.938 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2558, allocations: 3.938 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.999e-05/0.2559, allocations: 19.92 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.256, allocations: 63.78 kB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2562, allocations: 37.56 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.2562, allocations: 15.88 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.2563, allocations: 31.78 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.2564, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.2564, allocations: 4 kB / 0.7882 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.2564, allocations: 7.922 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.2565, allocations: 33.7 kB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2566, allocations: 64.03 kB / 0.7883 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2566, allocations: 0 / 0.7883 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.737e-06/0.2566, allocations: 4 kB / 0.7883 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2566, allocations: 0 / 0.7883 GB, free: 10.97 MB / 0.6075 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.0006735/0.2573, allocations: 375 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.2574, allocations: 8.031 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/0.2574, allocations: 42.55 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.2575, allocations: 7.906 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.2578, allocations: 198.8 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.2579, allocations: 4 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.2579, allocations: 12 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.2581, allocations: 95.31 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2582, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2582, allocations: 0 / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2582, allocations: 4 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.2583, allocations: 39.92 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.2591, allocations: 444.6 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.2592, allocations: 49.14 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.2592, allocations: 14.91 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.2592, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2593, allocations: 42.56 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 4.418e-06/0.2593, allocations: 3.984 kB / 0.7895 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002477/0.2595, allocations: 61.47 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.2596, allocations: 77.11 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.2598, allocations: 167.3 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2598, allocations: 25.7 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.2599, allocations: 116.1 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.2599, allocations: 7.906 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.2599, allocations: 0 / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2601, allocations: 322.8 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.2601, allocations: 4 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.353e-05/0.2602, allocations: 25.64 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.2602, allocations: 15.94 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2602, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.2603, allocations: 57.56 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2604, allocations: 8 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2604, allocations: 3.984 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2604, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.2605, allocations: 7.938 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2605, allocations: 4 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.2606, allocations: 0 / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2606, allocations: 4 kB / 0.7904 GB, free: 8.5 MB / 0.6075 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 9.832e-05/0.2607, allocations: 117.9 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.2607, allocations: 15.77 kB / 0.7905 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.2608, allocations: 12.55 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2608, allocations: 4 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2608, allocations: 4 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2608, allocations: 0 / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.2612, allocations: 486.7 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2612, allocations: 0 / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.2613, allocations: 7.984 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2613, allocations: 0 / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2613, allocations: 4 kB / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2613, allocations: 0 / 0.791 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.2613, allocations: 4 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.2614, allocations: 81.83 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.2615, allocations: 93 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2615, allocations: 3.938 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.2615, allocations: 0 / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.2616, allocations: 4 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2616, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001195/0.2617, allocations: 127.9 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2617, allocations: 0 / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002058/0.2619, allocations: 8 kB / 0.7913 GB, free: 7.434 MB / 0.6075 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.0004643/0.2624, allocations: 0.6248 MB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.2625, allocations: 16 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2625, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.2625, allocations: 12.09 kB / 0.792 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.2627, allocations: 11.94 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.2638, allocations: 0.5917 MB / 0.7926 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.2642, allocations: 0.7004 MB / 0.7932 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.094e-05/0.2643, allocations: 8.438 kB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.2644, allocations: 27.42 kB / 0.7933 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.2644, allocations: 0 / 0.7933 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.2789, allocations: 1.594 MB / 0.7948 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.2791, allocations: 190.7 kB / 0.795 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.148, allocations: 4.062 kB / 0.795 GB, free: 3.641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) Environment - environmentSimulation: