Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",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.000965/0.0009651, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007261/0.007261, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.219/1.219, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 443.3 MB / 0.7176 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 12.25 kB / 0.8797 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 155.2 MB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0008794/0.2339, allocations: 0.5498 MB / 1.032 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.2341, allocations: 39.78 kB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2341, allocations: 0 / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.2342, allocations: 7.922 kB / 1.032 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.2342, allocations: 7.938 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.012e-05/0.2343, allocations: 15.98 kB / 1.032 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.2344, allocations: 63.69 kB / 1.032 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2345, allocations: 43.97 kB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.2346, allocations: 15.88 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.2346, allocations: 23.84 kB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.2346, allocations: 0 / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.2346, allocations: 4 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.2346, allocations: 7.938 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.2347, allocations: 57.5 kB / 1.032 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.048e-05/0.2348, allocations: 67.92 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2348, allocations: 0 / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2348, allocations: 0 / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.2348, allocations: 0 / 1.032 GB, free: 3.176 MB / 0.7794 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.0003292/0.2351, allocations: 367.2 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2352, allocations: 8.031 kB / 1.032 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.2352, allocations: 42.73 kB / 1.033 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.2353, allocations: 12.84 kB / 1.033 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2354, allocations: 188.2 kB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2354, allocations: 12.36 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.2355, allocations: 8.375 kB / 1.033 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.2356, allocations: 93.45 kB / 1.033 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2356, allocations: 3.938 kB / 1.033 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2356, allocations: 4 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2356, allocations: 4 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.2357, allocations: 31.98 kB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.2362, allocations: 444.5 kB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.2362, allocations: 41.14 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.2363, allocations: 25.81 kB / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.2363, allocations: 0 / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.2363, allocations: 34.56 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2363, allocations: 0 / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001487/0.2365, allocations: 53.48 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2365, allocations: 85.34 kB / 1.034 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2366, allocations: 160.9 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2367, allocations: 25.7 kB / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.2367, allocations: 107.9 kB / 1.034 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-06/0.2367, allocations: 4 kB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.2368, allocations: 13.7 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.2368, allocations: 318.8 kB / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.2369, allocations: 0 / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.2369, allocations: 29.7 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.2369, allocations: 26.22 kB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2369, allocations: 0 / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.915e-05/0.237, allocations: 57.59 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.237, allocations: 15.88 kB / 1.034 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.237, allocations: 96 / 1.034 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2371, allocations: 3.984 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.2371, allocations: 8.062 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2371, allocations: 4 kB / 1.034 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.275e-05/0.2372, allocations: 11.84 kB / 1.034 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2372, allocations: 0 / 1.034 GB, free: 0.707 MB / 0.7794 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.051e-05/0.2372, allocations: 117.8 kB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.2373, allocations: 11.84 kB / 1.034 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.2373, allocations: 15.86 kB / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2373, allocations: 0 / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2373, allocations: 4 kB / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2373, allocations: 4 kB / 1.034 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.2377, allocations: 474.8 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2377, allocations: 0 / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.2377, allocations: 4 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2377, allocations: 0 / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.2377, allocations: 3.938 kB / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2377, allocations: 0 / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2377, allocations: 4.062 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.2378, allocations: 81.77 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.2379, allocations: 89 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2379, allocations: 8 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.2379, allocations: 3.938 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.2379, allocations: 0 / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2379, allocations: 4.031 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.238, allocations: 121.1 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.238, allocations: 0 / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001893/0.2382, allocations: 11.91 kB / 1.035 GB, free: 15.66 MB / 0.795 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.0003/0.2385, allocations: 0.6249 MB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.396e-05/0.2386, allocations: 12 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2386, allocations: 0 / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.2386, allocations: 7.938 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.2388, allocations: 8 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2398, allocations: 1.34 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.24, allocations: 0.6926 MB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.24, allocations: 12.42 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.2401, allocations: 23.44 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.2401, allocations: 0 / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009784/0.2499, allocations: 1.369 MB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.25, allocations: 216.8 kB / 1.039 GB, free: 11.28 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.967, allocations: 0 / 1.039 GB, free: 11.28 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches