Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_inH2O,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_9_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.004429/0.004429, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001099/0.001099, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.94 kB / 0.9504 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.235, allocations: 140.4 MB / 1.087 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.001871/0.2369, allocations: 0.8137 MB / 1.088 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.237, allocations: 51.78 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.2371, allocations: 0 / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.2371, allocations: 11.88 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.2372, allocations: 11.86 kB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.628e-05/0.2373, allocations: 19.98 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.2374, allocations: 59.84 kB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2375, allocations: 39.97 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.2376, allocations: 31.84 kB / 1.089 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.2376, allocations: 31.8 kB / 1.089 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2377, allocations: 4 kB / 1.089 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.2377, allocations: 8 kB / 1.089 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.2377, allocations: 15.92 kB / 1.089 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.2377, allocations: 39.69 kB / 1.089 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.2379, allocations: 75.84 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2379, allocations: 0 / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2379, allocations: 0 / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.2379, allocations: 8 kB / 1.089 GB, free: 0.9062 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.0004032/0.2383, allocations: 379.1 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2383, allocations: 12.03 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.2384, allocations: 42.67 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.2384, allocations: 12.89 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2386, allocations: 184.3 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2386, allocations: 8.375 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.2387, allocations: 8.359 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2388, allocations: 101.3 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.2388, allocations: 3.938 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2389, allocations: 0 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2389, allocations: 0 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.2389, allocations: 35.98 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.2395, allocations: 432.7 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.2396, allocations: 41.16 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.2396, allocations: 25.83 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.2396, allocations: 4.031 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2396, allocations: 30.56 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.2397, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001671/0.2398, allocations: 57.53 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2399, allocations: 77.11 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.24, allocations: 161.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.24, allocations: 25.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.2401, allocations: 108 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.2401, allocations: 11.83 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2402, allocations: 21.95 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.2403, allocations: 322.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.2403, allocations: 7.984 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.2403, allocations: 17.72 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.2404, allocations: 25.66 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2404, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.687e-05/0.2405, allocations: 61.64 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2405, allocations: 11.94 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2405, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2405, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.2406, allocations: 11.94 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2406, allocations: 7.922 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.2406, allocations: 3.953 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.2406, allocations: 4 kB / 1.091 GB, free: 14.42 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.337e-05/0.2407, allocations: 113.8 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.2408, allocations: 16.05 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.2408, allocations: 15.84 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2408, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2408, allocations: 8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2408, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.2412, allocations: 466.8 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2412, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.2412, allocations: 12.06 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2412, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.2413, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2413, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2413, allocations: 3.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.583e-05/0.2414, allocations: 81.83 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2414, allocations: 85.05 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2414, allocations: 8.031 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.2415, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.2415, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.2415, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.2416, allocations: 120.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2416, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002002/0.2418, allocations: 19.83 kB / 1.092 GB, free: 13.37 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.0003171/0.2421, allocations: 0.621 MB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.574e-05/0.2422, allocations: 16 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2422, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.2422, allocations: 7.938 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.2424, allocations: 12.27 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.2434, allocations: 1.325 MB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2437, allocations: 0.6967 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.2437, allocations: 12.42 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.2438, allocations: 19.44 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2438, allocations: 3.938 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.2597, allocations: 1.583 MB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.294, allocations: 0 / 1.096 GB, free: 9.02 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches