Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_10_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.001461/0.001462, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5231, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002097/0.5253, allocations: 0.8172 MB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.954e-05/0.5254, allocations: 39.78 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.5255, allocations: 4 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.5255, allocations: 11.86 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.5256, allocations: 7.938 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.333e-05/0.5256, allocations: 19.92 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.5257, allocations: 67.78 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.5259, allocations: 39.97 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.5259, allocations: 31.84 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.526, allocations: 23.86 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.526, allocations: 8 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.526, allocations: 8 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.526, allocations: 15.92 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.5261, allocations: 27.81 kB / 1.019 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.5262, allocations: 81.94 kB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5262, allocations: 3.938 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5262, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.5262, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.7637 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.0004102/0.5266, allocations: 379.2 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.5267, allocations: 8.031 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.5267, allocations: 42.73 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.5268, allocations: 12.84 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.527, allocations: 188.2 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.527, allocations: 4.375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.527, allocations: 20.36 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5271, allocations: 95.78 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.5272, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.5272, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5272, allocations: 4 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.97e-05/0.5273, allocations: 39.92 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.5277, allocations: 432.6 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.5278, allocations: 37.25 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.5278, allocations: 25.77 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.5279, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.5279, allocations: 34.56 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5279, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.5281, allocations: 53.48 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.5281, allocations: 81.36 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.5282, allocations: 168 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.5283, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.5283, allocations: 108 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.868e-06/0.5283, allocations: 11.89 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.5284, allocations: 21.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.5285, allocations: 314.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.5285, allocations: 11.94 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.5285, allocations: 25.7 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.5286, allocations: 25.66 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5286, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/0.5287, allocations: 61.53 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5287, allocations: 9.5 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5287, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5287, allocations: 8.062 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.5288, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5288, allocations: 3.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.5288, allocations: 7.906 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.5289, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 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 7.358e-05/0.5289, allocations: 113.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.529, allocations: 11.84 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.529, allocations: 11.86 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.529, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.529, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.529, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.5294, allocations: 470.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5294, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.5294, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5294, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.5294, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5294, allocations: 4.062 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5294, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.629e-05/0.5295, allocations: 85.77 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.5296, allocations: 92.94 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5296, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.5296, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.5296, allocations: 8.031 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.5296, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.144e-05/0.5297, allocations: 120.7 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5297, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001818/0.5299, allocations: 12 kB / 1.022 GB, free: 13.75 MB / 0.7794 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.0003286/0.5302, allocations: 0.6155 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.173e-05/0.5303, allocations: 16 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5304, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.5304, allocations: 11.94 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.5305, allocations: 9.719 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.5316, allocations: 1.332 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5318, allocations: 0.6924 MB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.5319, allocations: 12.42 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.5319, allocations: 15.44 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5319, allocations: 4 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.5781, allocations: 1.532 MB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.749, allocations: 12.12 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches