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.005981/0.005982, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001146/0.001147, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.374/2.374, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 75.83 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8238/0.8251, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002217/0.8274, allocations: 0.8374 MB / 1.167 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.8276, allocations: 39.84 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.8276, allocations: 4 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.8277, allocations: 7.875 kB / 1.167 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.8278, allocations: 15.86 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.911e-05/0.8278, allocations: 19.98 kB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.8279, allocations: 59.84 kB / 1.167 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.8281, allocations: 39.98 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.8282, allocations: 35.78 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.8282, allocations: 23.86 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.8283, allocations: 4 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.8283, allocations: 8 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.8283, allocations: 19.92 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.8284, allocations: 31.8 kB / 1.167 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.8285, allocations: 81.83 kB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8285, allocations: 0 / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8285, allocations: 0 / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8285, allocations: 4 kB / 1.167 GB, free: 2.539 MB / 0.8887 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.0004656/0.829, allocations: 383.2 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.829, allocations: 8.922 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.8291, allocations: 42.73 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.8291, allocations: 8.844 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.8294, allocations: 192.2 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.8294, allocations: 384 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.8294, allocations: 16.31 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.8296, allocations: 94.39 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8296, allocations: 3.938 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8296, allocations: 0 / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.8296, allocations: 4 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.8297, allocations: 39.92 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.8302, allocations: 428.6 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.8303, allocations: 53.23 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.8303, allocations: 13.78 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.8304, allocations: 4 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.8304, allocations: 34.56 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.8304, allocations: 4 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.8306, allocations: 53.48 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.8306, allocations: 85.03 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.8308, allocations: 156.9 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.8308, allocations: 25.7 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.8308, allocations: 108 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.8309, allocations: 7.906 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.8309, allocations: 25.95 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.831, allocations: 314.8 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.831, allocations: 7.984 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.8311, allocations: 21.66 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.8311, allocations: 29.66 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8311, allocations: 0 / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.403e-05/0.8312, allocations: 65.53 kB / 1.169 GB, free: 88 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8312, allocations: 7.938 kB / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8312, allocations: 0 / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8312, allocations: 4 kB / 1.169 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.8313, allocations: 4 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8313, allocations: 0 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.8314, allocations: 7.906 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.8314, allocations: 0 / 1.17 GB, free: 64 kB / 0.8887 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 9.543e-05/0.8315, allocations: 113.8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.8315, allocations: 19.89 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.8315, allocations: 11.88 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8315, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8316, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8316, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.8319, allocations: 470.8 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8319, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.832, allocations: 8.062 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.832, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.832, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.832, allocations: 7.922 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.832, allocations: 96 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.265e-05/0.8321, allocations: 77.83 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.8322, allocations: 92.97 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.8322, allocations: 8 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.8322, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.8322, allocations: 4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.8322, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.316e-05/0.8323, allocations: 121.7 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8323, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001892/0.8325, allocations: 11.91 kB / 1.17 GB, free: 15.01 MB / 0.9044 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.0004519/0.833, allocations: 0.6209 MB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.8331, allocations: 19.94 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8331, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.8331, allocations: 7.984 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.8333, allocations: 16.22 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.8346, allocations: 1.327 MB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.8348, allocations: 0.6924 MB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.8349, allocations: 12.42 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.8349, allocations: 23.44 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of SimCode: time 6.71e-07/0.8349, allocations: 0 / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.8543, allocations: 1.57 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.583, allocations: 17.69 kB / 1.175 GB, free: 10.64 MB / 0.9044 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