Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001477/0.001477, allocations: 218 kB / 22.25 MB, free: 4.852 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_12_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.002116/0.002116, allocations: 66.23 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.378, allocations: 176.1 MB / 1.325 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002145/0.3801, allocations: 0.8 MB / 1.326 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.3802, allocations: 43.84 kB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3803, allocations: 0 / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.606e-05/0.3803, allocations: 11.86 kB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.516e-05/0.3804, allocations: 11.88 kB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.115e-05/0.3805, allocations: 15.98 kB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3806, allocations: 71.77 kB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3807, allocations: 31.97 kB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.3808, allocations: 23.88 kB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.3809, allocations: 27.78 kB / 1.326 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3809, allocations: 8 kB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-06/0.3809, allocations: 8 kB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.3809, allocations: 15.94 kB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.381, allocations: 27.86 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3811, allocations: 79.8 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3811, allocations: 4 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3811, allocations: 0 / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3811, allocations: 0 / 1.326 GB, free: 1.246 MB / 1.014 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.0004532/0.3816, allocations: 306 kB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3816, allocations: 8.031 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.212e-05/0.3817, allocations: 38.75 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.3817, allocations: 12.89 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3819, allocations: 138.3 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3819, allocations: 12.28 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3819, allocations: 12.31 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3821, allocations: 87.95 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.3821, allocations: 3.938 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3821, allocations: 4 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3821, allocations: 4 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.3822, allocations: 35.92 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.3828, allocations: 395.8 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.363e-05/0.3829, allocations: 41.34 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.3829, allocations: 17.78 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.3829, allocations: 0 / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.383, allocations: 34.56 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.383, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.3832, allocations: 61.52 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.3832, allocations: 77.11 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3834, allocations: 165.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3834, allocations: 29.7 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.3835, allocations: 112 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.3835, allocations: 3.953 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3835, allocations: 17.72 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3837, allocations: 318.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.3837, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.3837, allocations: 21.72 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.3838, allocations: 21.72 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3838, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.741e-05/0.3839, allocations: 65.58 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3839, allocations: 13.34 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3839, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3839, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.384, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.384, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.384, allocations: 3.953 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3841, allocations: 8 kB / 1.328 GB, free: 14.98 MB / 1.029 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.975e-05/0.3842, allocations: 126.2 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3842, allocations: 15.95 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3842, allocations: 7.812 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3842, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3842, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3842, allocations: 4.078 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.3847, allocations: 437.8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3847, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.3847, allocations: 7.984 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3847, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.3847, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3847, allocations: 8.062 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3847, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.99e-05/0.3848, allocations: 77.84 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.3848, allocations: 15.94 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3848, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.568e-05/0.3849, allocations: 4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.3849, allocations: 3.938 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.3849, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001051/0.385, allocations: 121.3 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.385, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001997/0.3852, allocations: 12 kB / 1.329 GB, free: 14.05 MB / 1.029 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.000441/0.3856, allocations: 0.6094 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/0.3857, allocations: 23.92 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3857, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.3857, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.3859, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3873, allocations: 1.334 MB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.3874, allocations: 83.12 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.3874, allocations: 8.422 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.3875, allocations: 23.44 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3875, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.4186, allocations: 2.096 MB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 22.02 kB / 1.333 GB, free: 9.836 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.748807976022363]