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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001083/0.001083, allocations: 108 kB / 15.6 MB, free: 132 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.001086/0.001086, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.495/2.495, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 65.38 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2416, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001896/0.2435, allocations: 0.8349 MB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.262e-05/0.2436, allocations: 43.78 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.2437, allocations: 4 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.2437, allocations: 11.81 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.2438, allocations: 11.86 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.557e-05/0.2438, allocations: 19.98 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.2439, allocations: 63.84 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.244, allocations: 47.95 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.2441, allocations: 31.81 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.2441, allocations: 31.84 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2442, allocations: 4 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2442, allocations: 8 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2442, allocations: 11.94 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.2442, allocations: 39.73 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.052e-05/0.2443, allocations: 63.98 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2443, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2443, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2443, allocations: 0 / 1.054 GB, free: 7.035 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.0003502/0.2447, allocations: 379.3 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2447, allocations: 12.62 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2448, allocations: 38.75 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.2448, allocations: 12.83 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.245, allocations: 196.1 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.245, allocations: 8.281 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.245, allocations: 12.31 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2452, allocations: 89.36 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2452, allocations: 11.94 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.2452, allocations: 3.938 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2452, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.2453, allocations: 39.97 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.2457, allocations: 432.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.2458, allocations: 45.28 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.2458, allocations: 17.84 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.2459, allocations: 3.984 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2459, allocations: 38.5 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2459, allocations: 4 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.246, allocations: 57.53 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2461, allocations: 81.05 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2462, allocations: 164.2 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2462, allocations: 25.7 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.2463, allocations: 100 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.2463, allocations: 3.906 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.2463, allocations: 21.91 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2464, allocations: 326.8 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.2465, allocations: 8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.2465, allocations: 17.72 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.2465, allocations: 25.7 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2465, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.653e-05/0.2466, allocations: 65.55 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2466, allocations: 7.938 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2466, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.2466, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.2467, allocations: 11.98 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2467, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.2467, allocations: 7.844 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.2468, allocations: 4 kB / 1.056 GB, free: 4.539 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.817e-05/0.2468, allocations: 117.8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.2469, allocations: 15.91 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.2469, allocations: 7.875 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2469, allocations: 7.938 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2469, allocations: 3.984 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2469, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.2473, allocations: 466.8 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2473, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.2473, allocations: 8.062 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2473, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.2473, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2473, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2473, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.75e-05/0.2474, allocations: 85.77 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.2474, allocations: 81.02 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2475, allocations: 8.031 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.2475, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.2475, allocations: 3.984 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.2475, allocations: 4 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.918e-05/0.2476, allocations: 122.5 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2476, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001745/0.2478, allocations: 8 kB / 1.057 GB, free: 3.504 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.0003052/0.2481, allocations: 0.6171 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.289e-05/0.2482, allocations: 15.94 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2482, allocations: 4 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-06/0.2482, allocations: 4 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.2483, allocations: 12.22 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.2493, allocations: 1.327 MB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2495, allocations: 0.6963 MB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.2496, allocations: 4.438 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.2496, allocations: 23.42 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.2496, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.2644, allocations: 1.544 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/7.033, allocations: 19.59 kB / 1.061 GB, free: 15.18 MB / 0.8262 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