Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.005913/0.005913, allocations: 97.66 kB / 15.73 MB, free: 5.555 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.00116/0.00116, allocations: 197.6 kB / 16.67 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.11 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8254, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002408/0.8279, allocations: 0.8325 MB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001473/0.828, allocations: 39.78 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.8281, allocations: 4 kB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.8282, allocations: 7.875 kB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.8283, allocations: 11.92 kB / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.8283, allocations: 15.98 kB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8285, allocations: 59.78 kB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.8286, allocations: 55.91 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.8287, allocations: 23.86 kB / 1.208 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.8287, allocations: 27.86 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.8288, allocations: 4 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.8288, allocations: 8 kB / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.8288, allocations: 15.92 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.8289, allocations: 35.8 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.829, allocations: 77.89 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.829, allocations: 4 kB / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/0.829, allocations: 0 / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.829, allocations: 0 / 1.208 GB, free: 12.4 MB / 0.9356 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.0004367/0.8295, allocations: 375.2 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8295, allocations: 8.031 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.8296, allocations: 46.67 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.8296, allocations: 12.84 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.8298, allocations: 192.1 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.8299, allocations: 8.375 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.8299, allocations: 4.375 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.83, allocations: 91.95 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.83, allocations: 3.938 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8301, allocations: 4 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.8301, allocations: 4 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.8302, allocations: 35.92 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.8307, allocations: 436.5 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/0.8308, allocations: 45.27 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.8308, allocations: 29.84 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.8308, allocations: 0 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.8309, allocations: 34.55 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.8309, allocations: 0 / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.8311, allocations: 61.42 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.8311, allocations: 81.09 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.8313, allocations: 160.8 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.8313, allocations: 25.7 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.8314, allocations: 108 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.8314, allocations: 3.906 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.8314, allocations: 21.7 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.8315, allocations: 314.8 kB / 1.21 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.8316, allocations: 15.92 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.8316, allocations: 21.72 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.8316, allocations: 21.72 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8317, allocations: 0 / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.788e-05/0.8317, allocations: 61.53 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.8318, allocations: 9.812 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8318, allocations: 0 / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8318, allocations: 0 / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.8319, allocations: 15.94 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8319, allocations: 4.062 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.8319, allocations: 3.906 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.8319, allocations: 4 kB / 1.211 GB, free: 9.914 MB / 0.9356 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 8.17e-05/0.832, allocations: 113.8 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.8321, allocations: 15.83 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.8321, allocations: 3.875 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8321, allocations: 4 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8321, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.8321, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.8325, allocations: 474.8 kB / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8325, allocations: 0 / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.8325, allocations: 7.938 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8325, allocations: 0 / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.8325, allocations: 0 / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8326, allocations: 3.984 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8326, allocations: 4 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.058e-05/0.8326, allocations: 81.91 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.8327, allocations: 92.94 kB / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8327, allocations: 0 / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.8327, allocations: 0 / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.8328, allocations: 0 / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.8328, allocations: 4 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.744e-05/0.8329, allocations: 125.3 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8329, allocations: 3.938 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001884/0.8331, allocations: 11.91 kB / 1.212 GB, free: 8.871 MB / 0.9356 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.0003705/0.8334, allocations: 0.6171 MB / 1.212 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.8335, allocations: 19.94 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8336, allocations: 0 / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.8336, allocations: 11.98 kB / 1.212 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.8337, allocations: 4 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.835, allocations: 1.335 MB / 1.213 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.8353, allocations: 0.6924 MB / 1.214 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.8354, allocations: 8.422 kB / 1.214 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.8355, allocations: 23.44 kB / 1.214 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8355, allocations: 3.938 kB / 1.214 GB, free: 6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.8534, allocations: 1.593 MB / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.311, allocations: 4.062 kB / 1.216 GB, free: 4.512 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches