Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_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.004294/0.004294, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001277/0.001277, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.692/2.692, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6622, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001983/0.6642, allocations: 0.8261 MB / 1.221 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001104/0.6643, allocations: 39.78 kB / 1.221 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.6644, allocations: 4 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.6644, allocations: 11.86 kB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.6645, allocations: 7.938 kB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.587e-05/0.6646, allocations: 15.98 kB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.6647, allocations: 63.78 kB / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.6648, allocations: 59.83 kB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.6649, allocations: 23.88 kB / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.665, allocations: 27.84 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.665, allocations: 8 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.665, allocations: 4 kB / 1.221 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.665, allocations: 11.94 kB / 1.221 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.6651, allocations: 35.8 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.6652, allocations: 75.3 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6652, allocations: 0 / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.506e-06/0.6652, allocations: 0 / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6652, allocations: 7.938 kB / 1.221 GB, free: 0.8555 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.0004334/0.6657, allocations: 379.1 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6657, allocations: 12.03 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.6658, allocations: 34.75 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.6658, allocations: 12.84 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.666, allocations: 200.1 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.666, allocations: 8.375 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.666, allocations: 4.375 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.6662, allocations: 95.86 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6662, allocations: 3.938 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6662, allocations: 11.98 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6662, allocations: 0 / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.6663, allocations: 36.03 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.6669, allocations: 444.6 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.667, allocations: 41.28 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.667, allocations: 21.84 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.667, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6671, allocations: 30.56 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6671, allocations: 7.938 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.6672, allocations: 57.52 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.6673, allocations: 81.11 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.6675, allocations: 164.8 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6675, allocations: 25.7 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.6676, allocations: 100.1 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.6676, allocations: 7.953 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.6676, allocations: 21.92 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6678, allocations: 322.8 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.6678, allocations: 4 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.6678, allocations: 21.72 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.6679, allocations: 25.72 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6679, allocations: 0 / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.56e-05/0.668, allocations: 61.58 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.668, allocations: 17.64 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.668, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.668, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.6681, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6681, allocations: 7.984 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.6681, allocations: 7.938 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.6682, allocations: 4 kB / 1.224 GB, free: 14.35 MB / 0.9512 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.569e-05/0.6682, allocations: 117.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.6683, allocations: 11.89 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.6683, allocations: 7.875 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6683, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6684, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6684, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.6688, allocations: 478.7 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6688, allocations: 64 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.6688, allocations: 8 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.137e-05/0.669, allocations: 77.88 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.669, allocations: 93.09 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.6691, allocations: 4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.6691, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.6691, allocations: 3.938 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.6691, allocations: 3.984 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.687e-05/0.6692, allocations: 117.1 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6692, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001944/0.6694, allocations: 11.94 kB / 1.224 GB, free: 13.32 MB / 0.9512 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.0004237/0.6699, allocations: 0.6177 MB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.951e-05/0.6699, allocations: 19.92 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.67, allocations: 0 / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.67, allocations: 12.22 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.6701, allocations: 4.062 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.6714, allocations: 1.335 MB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6717, allocations: 0.6929 MB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.6718, allocations: 12.42 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.6718, allocations: 27.42 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.6718, allocations: 0 / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.6929, allocations: 1.582 MB / 1.229 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.289, allocations: 9.391 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches