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.001706/0.001706, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.78 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2295, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001971/0.2315, allocations: 0.8254 MB / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001461/0.2317, allocations: 39.8 kB / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.2318, allocations: 0 / 1.088 GB, free: 1.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.2318, allocations: 15.86 kB / 1.088 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.2319, allocations: 15.86 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.105e-05/0.232, allocations: 15.98 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2321, allocations: 59.84 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2323, allocations: 43.95 kB / 1.088 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.2323, allocations: 23.88 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.2324, allocations: 31.84 kB / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2324, allocations: 4 kB / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.2325, allocations: 12 kB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.2325, allocations: 15.88 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2325, allocations: 39.72 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2327, allocations: 71.88 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2327, allocations: 0 / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2327, allocations: 4 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2327, allocations: 0 / 1.089 GB, free: 0.8047 MB / 0.8419 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.0004557/0.2332, allocations: 379.1 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2332, allocations: 12.03 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.2333, allocations: 38.75 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.2333, allocations: 16.88 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2335, allocations: 192.2 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2335, allocations: 8.375 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2336, allocations: 8.375 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.2337, allocations: 93.97 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2338, allocations: 7.875 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2338, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2338, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.2339, allocations: 39.94 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.2344, allocations: 440.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.2345, allocations: 33.16 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.2345, allocations: 25.84 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.2346, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2346, allocations: 34.59 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2346, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.2347, allocations: 61.52 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2348, allocations: 81.11 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2349, allocations: 161.5 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2349, allocations: 25.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.235, allocations: 108 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.856e-06/0.235, allocations: 7.891 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.2351, allocations: 17.72 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.2352, allocations: 326.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.2352, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.2352, allocations: 21.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.2353, allocations: 25.66 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2353, allocations: 4 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.239e-05/0.2354, allocations: 57.64 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2354, allocations: 11.94 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2354, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2354, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.2355, allocations: 16 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2355, allocations: 3.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.2355, allocations: 3.953 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2355, allocations: 4 kB / 1.091 GB, free: 14.31 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 7.169e-05/0.2356, allocations: 113.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.2357, allocations: 11.89 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.2357, allocations: 7.875 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2357, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2357, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2357, allocations: 4 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.2361, allocations: 470.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2361, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.2361, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2361, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.2361, allocations: 3.938 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2361, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2361, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.656e-05/0.2362, allocations: 89.88 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.2363, allocations: 81.06 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2363, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/0.2363, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.2363, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2363, allocations: 4.078 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.856e-05/0.2364, allocations: 125.1 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2364, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000195/0.2366, allocations: 15.89 kB / 1.092 GB, free: 13.27 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.0003739/0.237, allocations: 0.621 MB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.621e-05/0.2371, allocations: 23.92 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2371, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.2371, allocations: 7.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.2373, allocations: 7.984 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2384, allocations: 1.324 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2387, allocations: 0.6967 MB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.2387, allocations: 8.422 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.2388, allocations: 27.42 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2388, allocations: 0 / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.254, allocations: 1.585 MB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.291, allocations: 3.5 kB / 1.096 GB, free: 8.91 MB / 0.8575 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