Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.004948/0.004948, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.0013/0.0013, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.7422 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 63.91 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2537, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001813/0.2556, allocations: 0.8272 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.2557, allocations: 47.78 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.2558, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.2558, allocations: 11.86 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.2559, allocations: 7.875 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.512e-05/0.256, allocations: 19.98 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.2561, allocations: 59.84 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2562, allocations: 55.83 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.2563, allocations: 27.81 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.2563, allocations: 27.84 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2563, allocations: 12 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.2564, allocations: 4 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2564, allocations: 15.94 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.2564, allocations: 39.73 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2565, allocations: 71.58 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2565, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2566, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2566, allocations: 0 / 1.221 GB, free: 13.39 MB / 0.9825 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.0003664/0.2569, allocations: 384.8 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.257, allocations: 12.03 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.257, allocations: 46.73 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.2571, allocations: 12.84 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2572, allocations: 192.2 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.2573, allocations: 4.375 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2573, allocations: 8.375 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2574, allocations: 97.2 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2574, allocations: 3.938 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2575, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2575, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.2575, allocations: 39.92 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.258, allocations: 436.7 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.2581, allocations: 41.19 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.2581, allocations: 21.84 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.2581, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2581, allocations: 34.56 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2581, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.2583, allocations: 57.52 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2583, allocations: 85.36 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2585, allocations: 165 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.2585, allocations: 25.7 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.2586, allocations: 100.1 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-06/0.2586, allocations: 7.891 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.2586, allocations: 21.67 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.2587, allocations: 322.8 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.2587, allocations: 0 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.2588, allocations: 25.72 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.2588, allocations: 25.66 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2588, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.618e-05/0.2589, allocations: 61.58 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2589, allocations: 11.94 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2589, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2589, allocations: 4.062 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.374e-05/0.259, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.259, allocations: 7.984 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.2591, allocations: 3.938 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.2591, allocations: 4 kB / 1.223 GB, free: 10.89 MB / 0.9825 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.341e-05/0.2591, allocations: 110.4 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.2592, allocations: 11.89 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.2592, allocations: 15.81 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2592, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2592, allocations: 8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.2592, allocations: 0 / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.2596, allocations: 474.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2596, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.2596, allocations: 8 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2596, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.2596, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2596, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2597, allocations: 8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.2597, allocations: 81.88 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.2598, allocations: 85.06 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2598, allocations: 4 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.2598, allocations: 0 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.2598, allocations: 4 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.2599, allocations: 8.109 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.563e-05/0.2599, allocations: 115.3 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.003e-06/0.2599, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001928/0.2601, allocations: 11.94 kB / 1.224 GB, free: 9.855 MB / 0.9825 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.0003184/0.2605, allocations: 0.621 MB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.2605, allocations: 15.98 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2606, allocations: 3.938 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.2606, allocations: 4 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.2607, allocations: 13.23 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2618, allocations: 1.335 MB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.262, allocations: 0.6924 MB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.262, allocations: 8.422 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.2621, allocations: 23.42 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2621, allocations: 0 / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.2778, allocations: 1.584 MB / 1.228 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.475, allocations: 7.281 kB / 1.228 GB, free: 5.504 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches