Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.0008896/0.0008895, allocations: 91.45 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.001071/0.001071, 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.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.48 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.811/1.811, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.000658/0.0006581, allocations: 16.25 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2981, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.00115/0.2993, allocations: 0.5364 MB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000153/0.2995, allocations: 43.78 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.2996, allocations: 3.938 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.2996, allocations: 11.92 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.2997, allocations: 7.938 kB / 0.788 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.127e-05/0.2998, allocations: 15.98 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2999, allocations: 63.78 kB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3001, allocations: 25.58 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.3001, allocations: 23.84 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.3002, allocations: 27.8 kB / 0.7881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3002, allocations: 4 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.3003, allocations: 0 / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3003, allocations: 11.94 kB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.3003, allocations: 33.7 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.015e-05/0.3004, allocations: 60.08 kB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3004, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.078e-06/0.3004, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3005, allocations: 3.938 kB / 0.7882 GB, free: 10.94 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.0004951/0.301, allocations: 383 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.301, allocations: 12.03 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.3011, allocations: 34.56 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.3011, allocations: 11.91 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3013, allocations: 194.8 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3014, allocations: 8 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3014, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3016, allocations: 95.33 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3016, allocations: 7.938 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3016, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3016, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.3017, allocations: 43.91 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.3024, allocations: 432.6 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.938e-05/0.3024, allocations: 53.19 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.3025, allocations: 22.84 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3025, allocations: 0 / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3025, allocations: 30.56 kB / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.3025, allocations: 0 / 0.7895 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002179/0.3028, allocations: 65.48 kB / 0.7896 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3028, allocations: 81.09 kB / 0.7897 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.303, allocations: 167.3 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.303, allocations: 25.7 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.3031, allocations: 115.9 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.3031, allocations: 3.984 kB / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.3031, allocations: 0 / 0.79 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3033, allocations: 327.1 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.3033, allocations: 8 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.3033, allocations: 17.72 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.3034, allocations: 8 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3034, allocations: 3.938 kB / 0.7903 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.313e-05/0.3035, allocations: 65.45 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3035, allocations: 4 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3035, allocations: 4.062 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3035, allocations: 4 kB / 0.7904 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.3036, allocations: 4 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3036, allocations: 3.938 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.843e-05/0.3037, allocations: 11.98 kB / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3037, allocations: 0 / 0.7904 GB, free: 8.465 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 0.0001046/0.3038, allocations: 113.8 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.3038, allocations: 11.86 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3039, allocations: 12.56 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3039, allocations: 4 kB / 0.7905 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3039, allocations: 4 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3039, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.3043, allocations: 482.6 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3044, allocations: 4 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.3044, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.3044, allocations: 4 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3044, allocations: 8.094 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3044, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3044, allocations: 0 / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.3045, allocations: 93.77 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3046, allocations: 85 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3046, allocations: 7.938 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.3047, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.3047, allocations: 4.031 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3047, allocations: 8 kB / 0.7912 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.331e-05/0.3048, allocations: 124 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3048, allocations: 0 / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001917/0.305, allocations: 8 kB / 0.7913 GB, free: 7.398 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.000527/0.3055, allocations: 0.6209 MB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.641e-05/0.3056, allocations: 19.94 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3056, allocations: 0 / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.3057, allocations: 11.98 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.3058, allocations: 11.94 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3069, allocations: 0.5957 MB / 0.7926 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3072, allocations: 0.6926 MB / 0.7932 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.3073, allocations: 8.422 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.3073, allocations: 23.44 kB / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3073, allocations: 0 / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.3205, allocations: 1.59 MB / 0.7948 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.3207, allocations: 193.7 kB / 0.795 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.221, allocations: 0 / 0.795 GB, free: 3.621 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: