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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 216.2 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.523/3.523, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.92 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002682/0.408, allocations: 0.8413 MB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.4082, allocations: 39.78 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.4083, allocations: 0 / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.332e-05/0.4084, allocations: 7.922 kB / 1.354 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.4085, allocations: 19.86 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.626e-05/0.4085, allocations: 11.98 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.4087, allocations: 63.78 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.4089, allocations: 35.97 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.409, allocations: 23.88 kB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.4091, allocations: 35.84 kB / 1.354 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4091, allocations: 4 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.4091, allocations: 8 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.4091, allocations: 7.938 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.4092, allocations: 43.67 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.4094, allocations: 75.86 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4094, allocations: 4 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4094, allocations: 0 / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4094, allocations: 0 / 1.354 GB, free: 7.242 MB / 1.045 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.0005919/0.41, allocations: 311.4 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.41, allocations: 8.031 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.4101, allocations: 38.75 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4101, allocations: 12.88 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4104, allocations: 134.3 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.4104, allocations: 8.375 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.4104, allocations: 8.375 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4107, allocations: 93.11 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4107, allocations: 7.938 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4107, allocations: 4 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.4107, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.4108, allocations: 39.92 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.4115, allocations: 399.7 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.4116, allocations: 41.28 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.4117, allocations: 17.84 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.4117, allocations: 4 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.4117, allocations: 30.56 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 5.821e-06/0.4117, allocations: 7.922 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.00028/0.412, allocations: 61.73 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.4121, allocations: 89.05 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4123, allocations: 152.7 kB / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4123, allocations: 29.7 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4124, allocations: 108 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.4124, allocations: 7.891 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.4125, allocations: 17.72 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4126, allocations: 314.8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.4127, allocations: 12.03 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.4127, allocations: 21.72 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.4127, allocations: 21.72 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4127, allocations: 4 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001049/0.4128, allocations: 61.58 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4129, allocations: 11.94 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4129, allocations: 4.062 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4129, allocations: 0 / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.4129, allocations: 4 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.413, allocations: 4 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.413, allocations: 7.938 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.413, allocations: 0 / 1.356 GB, free: 4.953 MB / 1.045 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 9.981e-05/0.4131, allocations: 125.7 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.4131, allocations: 11.89 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.4132, allocations: 7.812 kB / 1.356 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4132, allocations: 4 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4132, allocations: 0 / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4132, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.4136, allocations: 449.7 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4136, allocations: 3.984 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.4137, allocations: 4 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4137, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4137, allocations: 4.062 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4137, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4137, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.935e-05/0.4138, allocations: 77.89 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.4138, allocations: 11.94 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4138, allocations: 4 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.4138, allocations: 7.969 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.4138, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.4138, allocations: 0 / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001091/0.414, allocations: 124.9 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.414, allocations: 0 / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001915/0.4142, allocations: 15.88 kB / 1.357 GB, free: 4.023 MB / 1.045 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.0004405/0.4146, allocations: 0.6154 MB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.4147, allocations: 15.92 kB / 1.357 GB, free: 3.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4147, allocations: 4 kB / 1.357 GB, free: 3.359 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.4147, allocations: 4 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.4149, allocations: 9.875 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.4165, allocations: 1.332 MB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4169, allocations: 0.6924 MB / 1.359 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.417, allocations: 8.422 kB / 1.359 GB, free: 1.191 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.417, allocations: 27.44 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/0.417, allocations: 0 / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.448, allocations: 1.683 MB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.46, allocations: 13.16 kB / 1.361 GB, free: 15.6 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.7860575648956]