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.007934/0.007934, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001983/0.001983, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.594/2.594, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 63.91 kB / 1.018 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2523, allocations: 151.6 MB / 1.166 GB, free: 7.457 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001935/0.2543, allocations: 0.8257 MB / 1.167 GB, free: 6.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.2544, allocations: 43.78 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.2545, allocations: 4 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.2546, allocations: 7.875 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.2546, allocations: 11.88 kB / 1.167 GB, free: 6.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.881e-05/0.2547, allocations: 23.91 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2548, allocations: 63.84 kB / 1.167 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.255, allocations: 39.98 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.255, allocations: 35.78 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.2551, allocations: 27.8 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.2551, allocations: 4 kB / 1.167 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.2551, allocations: 8 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.2552, allocations: 19.92 kB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.2552, allocations: 27.81 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2553, allocations: 87.78 kB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2553, allocations: 0 / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2553, allocations: 0 / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2554, allocations: 0 / 1.167 GB, free: 6.227 MB / 0.92 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.0004151/0.2558, allocations: 381.2 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2558, allocations: 8.031 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.2559, allocations: 42.73 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.2559, allocations: 12.84 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2561, allocations: 188.3 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2561, allocations: 8.375 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2561, allocations: 12.31 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.2563, allocations: 91.94 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2563, allocations: 3.938 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2563, allocations: 7.938 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2563, allocations: 4 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.2564, allocations: 35.92 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.2569, allocations: 440.7 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/0.257, allocations: 37.25 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.2571, allocations: 17.78 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.2571, allocations: 4 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2571, allocations: 38.55 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2571, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000165/0.2573, allocations: 53.53 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2573, allocations: 77.11 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2575, allocations: 160.5 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2575, allocations: 29.7 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2576, allocations: 104.1 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.2576, allocations: 15.88 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.2576, allocations: 17.72 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2577, allocations: 314.8 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.2577, allocations: 11.94 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.2578, allocations: 25.64 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.2578, allocations: 25.72 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2578, allocations: 0 / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.681e-05/0.2579, allocations: 65.55 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2579, allocations: 7.938 kB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2579, allocations: 0 / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.258, allocations: 7.984 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.258, allocations: 4 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.258, allocations: 0 / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.2581, allocations: 8.062 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2581, allocations: 0 / 1.17 GB, free: 3.742 MB / 0.92 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.506e-05/0.2582, allocations: 113.8 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.2582, allocations: 11.89 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.2582, allocations: 11.86 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2583, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2583, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2583, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.2586, allocations: 486.7 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2587, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.2587, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2587, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.2587, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2587, allocations: 7.938 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2587, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.849e-05/0.2588, allocations: 85.94 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.2589, allocations: 85.06 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2589, allocations: 3.984 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.2589, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2589, allocations: 4 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.2589, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.834e-05/0.259, allocations: 120.7 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.259, allocations: 4.031 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001967/0.2592, allocations: 15.94 kB / 1.17 GB, free: 2.691 MB / 0.92 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.0003359/0.2596, allocations: 0.6093 MB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.2597, allocations: 27.97 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2597, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.2597, allocations: 8 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.2599, allocations: 10.34 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.261, allocations: 1.331 MB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2613, allocations: 0.6967 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.2613, allocations: 4.438 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2613, allocations: 27.42 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.2613, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.2779, allocations: 1.575 MB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/7.498, allocations: 15.83 kB / 1.175 GB, free: 14.34 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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