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.003929/0.003929, allocations: 107 kB / 15.74 MB, free: 6.043 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.001013/0.001013, allocations: 199 kB / 16.68 MB, free: 5.957 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7022, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001737/0.704, allocations: 0.832 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.757e-05/0.7041, allocations: 45.38 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.7042, allocations: 1.125 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.7042, allocations: 10.67 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.7043, allocations: 8.578 kB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.338e-05/0.7043, allocations: 17.05 kB / 1.088 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.7044, allocations: 62.3 kB / 1.088 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7046, allocations: 38.89 kB / 1.088 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.7046, allocations: 33.27 kB / 1.088 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.7047, allocations: 31.02 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.7047, allocations: 5.938 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.7047, allocations: 6.406 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.7048, allocations: 15.86 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.7048, allocations: 27.92 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.7049, allocations: 83.16 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7049, allocations: 1.062 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7049, allocations: 0 / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.7049, allocations: 3.938 kB / 1.089 GB, free: 4.488 MB / 0.8575 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.0003128/0.7052, allocations: 377.4 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7053, allocations: 8.875 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.7053, allocations: 43.91 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.7054, allocations: 16.72 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7055, allocations: 189.5 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.7055, allocations: 7.094 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.7055, allocations: 9.125 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.7057, allocations: 94.42 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7057, allocations: 3.938 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7057, allocations: 5.094 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.7057, allocations: 2.219 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.7058, allocations: 40.38 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.7062, allocations: 433.5 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.801e-05/0.7062, allocations: 46.31 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.7063, allocations: 20.05 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.7063, allocations: 4 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.7063, allocations: 37.38 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.7063, allocations: 0 / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.7065, allocations: 56.86 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.7065, allocations: 77.77 kB / 1.09 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.7066, allocations: 156.2 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.7066, allocations: 29.7 kB / 1.09 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.7067, allocations: 109.1 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.7067, allocations: 9.016 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.7067, allocations: 18.48 kB / 1.09 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.7068, allocations: 320.2 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.7068, allocations: 3.328 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.7068, allocations: 20.61 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.7069, allocations: 30.55 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7069, allocations: 0.5156 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.191e-05/0.7069, allocations: 61.59 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.707, allocations: 9.641 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.707, allocations: 4.75 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.707, allocations: 1.031 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.707, allocations: 6.625 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.7071, allocations: 1 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.7071, allocations: 6.781 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.7071, allocations: 5.062 kB / 1.091 GB, free: 2.367 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 4.963e-05/0.7071, allocations: 113.8 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.7072, allocations: 16.73 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.7072, allocations: 11.91 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7072, allocations: 1 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7072, allocations: 5.719 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7072, allocations: 0.9688 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.7075, allocations: 469.9 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7075, allocations: 1.062 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.7075, allocations: 4.031 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.7076, allocations: 1.281 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.7076, allocations: 4.641 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7076, allocations: 1.312 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7076, allocations: 0 / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.768e-05/0.7076, allocations: 89.03 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.7077, allocations: 90.91 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.7077, allocations: 1.641 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.7077, allocations: 0 / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.7077, allocations: 2.938 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.7077, allocations: 5.062 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.7078, allocations: 121.4 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7078, allocations: 4.031 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001919/0.708, allocations: 7.281 kB / 1.092 GB, free: 1.445 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.0002926/0.7083, allocations: 0.6156 MB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.7084, allocations: 20.25 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7084, allocations: 0 / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.7084, allocations: 8.953 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.7086, allocations: 11.31 kB / 1.092 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.7096, allocations: 1.325 MB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.7099, allocations: 0.6962 MB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.7099, allocations: 7.203 kB / 1.094 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.7099, allocations: 21.11 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7099, allocations: 1.062 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.7257, allocations: 1.578 MB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.833, allocations: 4.281 kB / 1.096 GB, free: 14.49 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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