Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001454/0.001454, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001439/0.001439, allocations: 195 kB / 16.26 MB, free: 6.629 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 65.8 kB / 0.9082 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2363, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002062/0.2384, allocations: 0.8956 MB / 1.064 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.2385, allocations: 39.78 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.2386, allocations: 4 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.2386, allocations: 3.938 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.2387, allocations: 7.922 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.092e-05/0.2388, allocations: 12 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.2389, allocations: 67.78 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.239, allocations: 39.97 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.239, allocations: 27.86 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.2391, allocations: 27.84 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2391, allocations: 8 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.2391, allocations: 8 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.2392, allocations: 19.92 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.2392, allocations: 31.75 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2393, allocations: 71.98 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2393, allocations: 0 / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2393, allocations: 0 / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2393, allocations: 3.938 kB / 1.065 GB, free: 13.21 MB / 0.8262 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.0003901/0.2397, allocations: 371.2 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2398, allocations: 8.031 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.2398, allocations: 46.73 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.2399, allocations: 12.75 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2401, allocations: 200.1 kB / 1.065 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2401, allocations: 4.375 kB / 1.065 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2401, allocations: 8.375 kB / 1.065 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2402, allocations: 93.44 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2403, allocations: 3.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2403, allocations: 8 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2403, allocations: 4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.2404, allocations: 39.92 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.2409, allocations: 432.6 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.2409, allocations: 41.16 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.241, allocations: 25.86 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.241, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.241, allocations: 30.56 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.241, allocations: 0 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001592/0.2412, allocations: 57.7 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.2413, allocations: 85.14 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2414, allocations: 162.2 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2414, allocations: 29.7 kB / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.2415, allocations: 100 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.2415, allocations: 3.906 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2415, allocations: 21.7 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2417, allocations: 314.8 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.2417, allocations: 8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.2417, allocations: 25.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.2418, allocations: 25.66 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2418, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.123e-05/0.2419, allocations: 61.53 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2419, allocations: 11.94 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2419, allocations: 4.062 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2419, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.242, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.242, allocations: 4 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.242, allocations: 7.844 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.242, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 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.767e-05/0.2421, allocations: 117.8 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.2421, allocations: 15.78 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.2422, allocations: 15.86 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2422, allocations: 4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2422, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2422, allocations: 4 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.2426, allocations: 474.8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2426, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.2426, allocations: 96 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2426, allocations: 7.984 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.2426, allocations: 64 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2426, allocations: 4 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2426, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.2427, allocations: 85.77 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.2428, allocations: 89 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2428, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.2428, allocations: 4 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-06/0.2429, allocations: 4.031 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2429, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.741e-05/0.2429, allocations: 126.3 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.243, allocations: 0 / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001754/0.2431, allocations: 8 kB / 1.068 GB, free: 9.684 MB / 0.8262 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.0003747/0.2435, allocations: 0.6248 MB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.2436, allocations: 12 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2436, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.2436, allocations: 7.938 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.2438, allocations: 8 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2449, allocations: 1.342 MB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.2452, allocations: 0.6963 MB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.2452, allocations: 8.422 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.2453, allocations: 23.44 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2453, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.589/1.835, allocations: 1.466 MB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/1.835, allocations: 216 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/4, allocations: 1.625 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches