Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.001661/0.001661, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002001/0.002001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.239/2.239, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.49/3.49, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8278, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001207/0.829, allocations: 0.5188 MB / 0.9814 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001555/0.8292, allocations: 39.78 kB / 0.9814 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.8293, allocations: 0 / 0.9814 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.8293, allocations: 11.86 kB / 0.9814 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.963e-05/0.8294, allocations: 7.938 kB / 0.9814 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.037e-05/0.8295, allocations: 19.98 kB / 0.9815 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.8296, allocations: 31.97 kB / 0.9815 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.8298, allocations: 32.14 kB / 0.9815 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.585e-05/0.8299, allocations: 15.88 kB / 0.9815 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.8299, allocations: 19.86 kB / 0.9816 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.83, allocations: 4 kB / 0.9816 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.83, allocations: 0 / 0.9816 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.83, allocations: 11.94 kB / 0.9816 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.8301, allocations: 37.64 kB / 0.9816 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.8302, allocations: 50.12 kB / 0.9817 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.8302, allocations: 0 / 0.9817 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.937e-06/0.8302, allocations: 4 kB / 0.9817 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8302, allocations: 0 / 0.9817 GB, free: 5.457 MB / 0.7325 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.0005412/0.8308, allocations: 371 kB / 0.982 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.908e-05/0.8309, allocations: 16.03 kB / 0.982 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.8309, allocations: 34.56 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.831, allocations: 7.906 kB / 0.9821 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.8312, allocations: 190.9 kB / 0.9822 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.8313, allocations: 8 kB / 0.9823 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.8313, allocations: 4 kB / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.8315, allocations: 101.1 kB / 0.9824 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8315, allocations: 3.938 kB / 0.9824 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8315, allocations: 4 kB / 0.9824 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.8315, allocations: 4 kB / 0.9824 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.8316, allocations: 39.92 kB / 0.9824 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.8323, allocations: 432.6 kB / 0.9828 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.8324, allocations: 45.28 kB / 0.9829 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.8325, allocations: 0 / 0.9829 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.8325, allocations: 34.69 kB / 0.9829 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8325, allocations: 0 / 0.9829 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.8327, allocations: 49.55 kB / 0.9829 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.8328, allocations: 85.31 kB / 0.983 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.833, allocations: 172 kB / 0.9832 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.833, allocations: 25.7 kB / 0.9832 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.8331, allocations: 100 kB / 0.9833 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.8332, allocations: 11.84 kB / 0.9833 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.8332, allocations: 0 / 0.9833 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8334, allocations: 326.8 kB / 0.9836 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.8334, allocations: 4 kB / 0.9836 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.8334, allocations: 29.64 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.8335, allocations: 8 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8335, allocations: 0 / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.465e-05/0.8336, allocations: 53.61 kB / 0.9837 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8336, allocations: 4 kB / 0.9837 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.8336, allocations: 3.938 kB / 0.9837 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.8336, allocations: 3.984 kB / 0.9837 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.8337, allocations: 8 kB / 0.9837 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.8337, allocations: 8.016 kB / 0.9837 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.8338, allocations: 0 / 0.9837 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8338, allocations: 4 kB / 0.9838 GB, free: 3.055 MB / 0.7325 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.0001135/0.8339, allocations: 113.8 kB / 0.9839 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.834, allocations: 7.906 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.834, allocations: 11.86 kB / 0.9839 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.834, allocations: 4 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.834, allocations: 0 / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.834, allocations: 3.953 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.8346, allocations: 478.7 kB / 0.9843 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.8346, allocations: 0 / 0.9843 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.8346, allocations: 4 kB / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8346, allocations: 0 / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.8346, allocations: 0 / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.8346, allocations: 3.953 kB / 0.9844 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8347, allocations: 8 kB / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.8348, allocations: 91.61 kB / 0.9844 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.8349, allocations: 85.02 kB / 0.9845 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.8349, allocations: 11.94 kB / 0.9845 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.8349, allocations: 0 / 0.9845 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.8349, allocations: 0 / 0.9845 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.8349, allocations: 8.031 kB / 0.9845 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.895e-05/0.835, allocations: 117.1 kB / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8351, allocations: 0 / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002057/0.8353, allocations: 15.94 kB / 0.9847 GB, free: 1.996 MB / 0.7325 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.0004876/0.8358, allocations: 0.6992 MB / 0.9854 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.8358, allocations: 8 kB / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8359, allocations: 0 / 0.9854 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.301e-05/0.8359, allocations: 11.94 kB / 0.9854 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.836, allocations: 11.94 kB / 0.9854 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8373, allocations: 0.6949 MB / 0.9861 GB, free: 480 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.8376, allocations: 0.7004 MB / 0.9867 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.8377, allocations: 16.53 kB / 0.9868 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.8377, allocations: 23.44 kB / 0.9868 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.8377, allocations: 0 / 0.9868 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.8497, allocations: 1.452 MB / 0.9882 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.85, allocations: 195.5 kB / 0.9884 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.088, allocations: 0 / 0.9884 GB, free: 14.14 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat does not exist to compare? outputFormat=mat