Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_inH2O,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_10_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.001368/0.001368, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001548/0.001548, allocations: 194.9 kB / 16.26 MB, free: 6.625 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.354/2.354, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5225, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001855/0.5244, allocations: 0.8914 MB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001016/0.5245, allocations: 39.78 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.5245, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.5246, allocations: 7.922 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.5247, allocations: 4 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.389e-05/0.5247, allocations: 19.98 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.5248, allocations: 59.8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.5249, allocations: 47.95 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.525, allocations: 19.88 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.525, allocations: 31.83 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.5251, allocations: 4 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.5251, allocations: 8 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.5251, allocations: 11.94 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.5251, allocations: 35.8 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.856e-05/0.5252, allocations: 77.95 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5252, allocations: 3.938 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5253, allocations: 0 / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5253, allocations: 4 kB / 1.018 GB, free: 1.418 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.0003457/0.5256, allocations: 379.1 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5257, allocations: 12.03 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.5257, allocations: 34.75 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.5257, allocations: 16.84 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5259, allocations: 192.1 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.5259, allocations: 12.38 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5259, allocations: 4.375 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5261, allocations: 99.8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5261, allocations: 7.875 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.5261, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5261, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.5262, allocations: 39.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.5266, allocations: 436.6 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.5267, allocations: 41.19 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.5267, allocations: 21.84 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.5267, allocations: 4 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.5268, allocations: 30.56 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.5268, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.5269, allocations: 61.47 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.527, allocations: 77.11 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5271, allocations: 168.2 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.5271, allocations: 29.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.5272, allocations: 99.98 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.5272, allocations: 11.89 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.5272, allocations: 13.72 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.5273, allocations: 322.8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.5273, allocations: 8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.5273, allocations: 17.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.5274, allocations: 33.66 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5274, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.636e-05/0.5275, allocations: 61.53 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5275, allocations: 9.812 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5275, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.5275, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.5276, allocations: 8 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.5276, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.5276, allocations: 7.969 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.5276, allocations: 8 kB / 1.02 GB, free: 14.92 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 6.166e-05/0.5277, allocations: 114.4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.5277, allocations: 15.84 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.5278, allocations: 3.875 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5278, allocations: 4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5278, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5278, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.5281, allocations: 478.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5281, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.5282, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5282, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.5282, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5282, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5282, allocations: 8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.892e-05/0.5283, allocations: 81.84 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.5283, allocations: 92.94 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.5283, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.5284, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.5284, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.5284, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.594e-05/0.5285, allocations: 116.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5285, allocations: 4.031 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001813/0.5287, allocations: 8 kB / 1.021 GB, free: 13.88 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.0003153/0.529, allocations: 0.617 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.5291, allocations: 24.02 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5291, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.5291, allocations: 11.94 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.5293, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5303, allocations: 1.343 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5305, allocations: 0.6963 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.5306, allocations: 8.438 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.5306, allocations: 27.42 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5306, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009974/0.5406, allocations: 1.464 MB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.5408, allocations: 220.4 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.05, allocations: 1.625 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches