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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 103 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 247.8 MB, free: 13.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 497.2 MB / 0.7811 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.19 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3864, allocations: 173.9 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002344/0.3888, allocations: 0.8333 MB / 1.305 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001421/0.3889, allocations: 47.78 kB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.389, allocations: 0 / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.389, allocations: 15.86 kB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.3891, allocations: 3.938 kB / 1.305 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-05/0.3892, allocations: 23.92 kB / 1.305 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3893, allocations: 59.84 kB / 1.305 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3895, allocations: 35.95 kB / 1.305 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.3896, allocations: 23.88 kB / 1.305 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.3896, allocations: 31.78 kB / 1.305 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3897, allocations: 11.94 kB / 1.305 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.3897, allocations: 4 kB / 1.305 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.3897, allocations: 15.94 kB / 1.305 GB, free: 496 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.3897, allocations: 39.8 kB / 1.305 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3899, allocations: 71.86 kB / 1.305 GB, free: 384 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3899, allocations: 0 / 1.305 GB, free: 384 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3899, allocations: 0 / 1.305 GB, free: 384 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3899, allocations: 0 / 1.305 GB, free: 384 kB / 0.9981 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.0005541/0.3905, allocations: 391 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3905, allocations: 12.62 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.3905, allocations: 38.75 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.3906, allocations: 8.891 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3908, allocations: 200.2 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3908, allocations: 4.375 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3909, allocations: 8.375 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.391, allocations: 97.7 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.391, allocations: 3.938 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3911, allocations: 4 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3911, allocations: 0 / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.3912, allocations: 35.98 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.3918, allocations: 444.7 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.3918, allocations: 37.16 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.3919, allocations: 13.84 kB / 1.306 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3919, allocations: 8 kB / 1.306 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3919, allocations: 42.59 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3919, allocations: 0 / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.3921, allocations: 57.52 kB / 1.306 GB, free: 14.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.3922, allocations: 77.11 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.3924, allocations: 160.7 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3924, allocations: 25.95 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.3925, allocations: 116 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.3925, allocations: 3.953 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.3925, allocations: 17.72 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3927, allocations: 318.8 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.3927, allocations: 4 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.3927, allocations: 21.7 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.3928, allocations: 33.66 kB / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3928, allocations: 0 / 1.307 GB, free: 13.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.017e-05/0.3929, allocations: 57.64 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.3929, allocations: 7.938 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3929, allocations: 4 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3929, allocations: 0 / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.393, allocations: 7.938 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.393, allocations: 3.984 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.393, allocations: 12.02 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.393, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 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 0.0001017/0.3932, allocations: 117.8 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.3932, allocations: 11.89 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.3932, allocations: 15.81 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3932, allocations: 0 / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3932, allocations: 3.938 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3932, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.3937, allocations: 474.8 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3937, allocations: 4 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.3937, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3937, allocations: 4 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3937, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3937, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3937, allocations: 0 / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3938, allocations: 89.88 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.3939, allocations: 89 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3939, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.3939, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.3939, allocations: 4 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3939, allocations: 3.984 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001043/0.394, allocations: 121.7 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.394, allocations: 4.031 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001832/0.3942, allocations: 11.95 kB / 1.308 GB, free: 12.82 MB / 1.014 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.0004562/0.3947, allocations: 0.6132 MB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3948, allocations: 24.02 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3948, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.3948, allocations: 7.938 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.395, allocations: 9.375 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3965, allocations: 1.331 MB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.3969, allocations: 0.6968 MB / 1.311 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.3969, allocations: 8.422 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.397, allocations: 23.42 kB / 1.311 GB, free: 9.957 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.397, allocations: 0 / 1.311 GB, free: 9.957 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.4222, allocations: 1.588 MB / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.445, allocations: 13.44 kB / 1.312 GB, free: 8.465 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.289361339993775]