Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.009361/0.009361, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001795/0.001795, allocations: 193.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.376/2.376, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.165/4.165, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 59.84 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.407, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.004428/0.4115, allocations: 0.8236 MB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.4117, allocations: 47.78 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.4118, allocations: 0 / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.66e-05/0.4119, allocations: 11.86 kB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.4121, allocations: 3.938 kB / 1.088 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.254e-05/0.4122, allocations: 19.98 kB / 1.088 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.4124, allocations: 67.78 kB / 1.088 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.4126, allocations: 51.92 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.4127, allocations: 23.88 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.4128, allocations: 27.84 kB / 1.089 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4128, allocations: 4 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.4128, allocations: 12 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.4129, allocations: 11.94 kB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.413, allocations: 39.73 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.4131, allocations: 82.39 kB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4132, allocations: 0 / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4132, allocations: 0 / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4132, allocations: 0 / 1.089 GB, free: 0.7383 MB / 0.8419 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.0005794/0.4138, allocations: 380.1 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.4138, allocations: 8.031 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001037/0.4149, allocations: 42.75 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.415, allocations: 16.73 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.4152, allocations: 192.2 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4153, allocations: 4.375 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4153, allocations: 8.375 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.4156, allocations: 87.95 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4156, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4156, allocations: 4 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4156, allocations: 8 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4158, allocations: 39.91 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.4165, allocations: 436.5 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.4166, allocations: 37.34 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.4167, allocations: 21.78 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4167, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4168, allocations: 34.56 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4168, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.417, allocations: 57.47 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.4171, allocations: 77.36 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4173, allocations: 167 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4174, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.4175, allocations: 104 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4175, allocations: 7.906 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.4175, allocations: 13.72 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4177, allocations: 322.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.4177, allocations: 8 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.4178, allocations: 17.72 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.4179, allocations: 29.7 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4179, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.418, allocations: 57.55 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.418, allocations: 7.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.418, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4181, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.4182, allocations: 12.05 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4182, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.4183, allocations: 19.78 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.4183, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 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 0.0001209/0.4184, allocations: 117.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.4185, allocations: 11.84 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.4185, allocations: 7.875 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4185, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4185, allocations: 3.984 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4186, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.4191, allocations: 470.8 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4192, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.4192, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4192, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4192, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4192, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/0.4193, allocations: 4.062 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.4194, allocations: 77.83 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.4195, allocations: 89.02 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4195, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.4196, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.4196, allocations: 16 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.4196, allocations: 4.031 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001322/0.4198, allocations: 122.9 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4198, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003253/0.4201, allocations: 12 kB / 1.092 GB, free: 13.21 MB / 0.8575 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.0004936/0.4206, allocations: 0.6093 MB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.4208, allocations: 23.88 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4208, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.757e-05/0.4208, allocations: 8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.4211, allocations: 7.906 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.4229, allocations: 1.331 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.4233, allocations: 0.6929 MB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.557e-05/0.4233, allocations: 8.422 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.4234, allocations: 27.42 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of SimCode: time 1.012e-06/0.4235, allocations: 0 / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.4545, allocations: 1.579 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.34, allocations: 5.625 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches