Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_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.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001538/0.001538, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.397/2.397, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 68.53 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2244, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001739/0.2262, allocations: 0.8842 MB / 1.053 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.389e-05/0.2263, allocations: 39.78 kB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.2264, allocations: 3.938 kB / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.2264, allocations: 3.938 kB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.2265, allocations: 11.92 kB / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.606e-05/0.2265, allocations: 16 kB / 1.053 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.2266, allocations: 51.84 kB / 1.053 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2267, allocations: 47.97 kB / 1.053 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.2268, allocations: 23.86 kB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.2268, allocations: 31.73 kB / 1.053 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2268, allocations: 4 kB / 1.053 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.2268, allocations: 4 kB / 1.053 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.2269, allocations: 23.91 kB / 1.053 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.2269, allocations: 27.81 kB / 1.053 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.738e-05/0.227, allocations: 63.98 kB / 1.053 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.227, allocations: 0 / 1.053 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.71e-07/0.227, allocations: 0 / 1.053 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.227, allocations: 4 kB / 1.053 GB, free: 7.004 MB / 0.8106 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.0003161/0.2273, allocations: 375.3 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2274, allocations: 15.97 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.2274, allocations: 38.73 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.2274, allocations: 20.84 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2276, allocations: 192.1 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2276, allocations: 16.27 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2276, allocations: 4.375 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.2278, allocations: 93.66 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2278, allocations: 7.938 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2278, allocations: 0 / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2278, allocations: 0 / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.2279, allocations: 39.92 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.2283, allocations: 432.5 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.2283, allocations: 41.28 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.2284, allocations: 29.83 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.2284, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2284, allocations: 30.56 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.2284, allocations: 0 / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.2286, allocations: 57.48 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.2286, allocations: 77.36 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2287, allocations: 177 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2287, allocations: 25.7 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.2288, allocations: 100 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.2288, allocations: 7.844 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.2288, allocations: 17.72 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.2289, allocations: 322.8 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.2289, allocations: 8 kB / 1.055 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.229, allocations: 21.7 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.229, allocations: 25.72 kB / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.229, allocations: 0 / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.408e-05/0.2291, allocations: 57.55 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2291, allocations: 11.92 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2291, allocations: 3.938 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-06/0.2291, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.2292, allocations: 12.06 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2292, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.2292, allocations: 7.844 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2292, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 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.115e-05/0.2293, allocations: 117.8 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.2293, allocations: 11.84 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.2294, allocations: 11.86 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2294, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2294, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.2294, allocations: 4 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.2297, allocations: 470.8 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2297, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.2297, allocations: 4 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2297, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.2297, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2298, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2298, allocations: 12.06 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.828e-05/0.2298, allocations: 77.83 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.2299, allocations: 89 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.2299, allocations: 4 kB / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.2299, allocations: 0 / 1.056 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.2299, allocations: 3.938 kB / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.2299, allocations: 4.031 kB / 1.056 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.23, allocations: 119.2 kB / 1.056 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.23, allocations: 0 / 1.056 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001727/0.2302, allocations: 8 kB / 1.056 GB, free: 3.473 MB / 0.8106 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.0002781/0.2305, allocations: 0.6171 MB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.2306, allocations: 15.94 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2306, allocations: 4 kB / 1.057 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.2306, allocations: 7.938 kB / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2307, allocations: 4 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.2317, allocations: 1.349 MB / 1.058 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.2319, allocations: 0.6927 MB / 1.059 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.2319, allocations: 16.41 kB / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.232, allocations: 23.44 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.232, allocations: 0 / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.2708, allocations: 1.423 MB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.271, allocations: 216.3 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.729, allocations: 0 / 1.061 GB, free: 15.03 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches