Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001341/0.001341, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001857/0.001857, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.478/3.478, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="cs",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.002128/0.002128, allocations: 70.23 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3725, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002353/0.3748, allocations: 0.7947 MB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.375, allocations: 43.78 kB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.375, allocations: 0 / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.906e-05/0.3751, allocations: 7.875 kB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.3752, allocations: 15.86 kB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.615e-05/0.3752, allocations: 15.98 kB / 1.346 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.3754, allocations: 67.78 kB / 1.346 GB, free: 15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.3755, allocations: 27.98 kB / 1.346 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.3756, allocations: 27.86 kB / 1.346 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.3756, allocations: 39.77 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.3757, allocations: 8 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.3757, allocations: 4 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.3757, allocations: 15.94 kB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.3758, allocations: 23.8 kB / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3759, allocations: 75.88 kB / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3759, allocations: 0 / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3759, allocations: 0 / 1.346 GB, free: 14.78 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3759, allocations: 0 / 1.346 GB, free: 14.78 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.0004815/0.3764, allocations: 306 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3764, allocations: 16.03 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.238e-05/0.3765, allocations: 4.125 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.3765, allocations: 38.75 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.3765, allocations: 12.84 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3768, allocations: 138.4 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3768, allocations: 4.375 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3768, allocations: 8.375 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.377, allocations: 103.5 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.377, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.377, allocations: 4 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.377, allocations: 0 / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.3771, allocations: 39.98 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.3778, allocations: 387.8 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.3779, allocations: 41.2 kB / 1.347 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.3779, allocations: 21.81 kB / 1.347 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3779, allocations: 4 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3779, allocations: 34.5 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 3.466e-06/0.378, allocations: 3.984 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001935/0.3781, allocations: 53.81 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3782, allocations: 85.09 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3784, allocations: 155.5 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3784, allocations: 29.69 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.3785, allocations: 100 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.3785, allocations: 19.86 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.3785, allocations: 13.72 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3787, allocations: 318.8 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.3787, allocations: 15.92 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.3788, allocations: 13.72 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.3788, allocations: 37.69 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3788, allocations: 0 / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.3789, allocations: 61.59 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.379, allocations: 11.88 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.379, allocations: 0 / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.379, allocations: 0 / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.3791, allocations: 8 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3791, allocations: 0 / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.3791, allocations: 4 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3791, allocations: 4.062 kB / 1.348 GB, free: 12.49 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 0.0001082/0.3792, allocations: 113.8 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3793, allocations: 15.88 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.3793, allocations: 11.81 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3793, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3793, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3793, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.3798, allocations: 441.8 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3798, allocations: 4 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.3798, allocations: 0 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3798, allocations: 8.062 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3798, allocations: 7.984 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3798, allocations: 0 / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3798, allocations: 0 / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3799, allocations: 81.83 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.3799, allocations: 11.94 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.38, allocations: 4 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.38, allocations: 0 / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.38, allocations: 0 / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.38, allocations: 4 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001141/0.3801, allocations: 126.5 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 0 / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001962/0.3803, allocations: 7.938 kB / 1.349 GB, free: 11.57 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.0005241/0.3808, allocations: 0.6171 MB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.381, allocations: 12 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.381, allocations: 0 / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.381, allocations: 11.92 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.3812, allocations: 12.28 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3827, allocations: 1.335 MB / 1.351 GB, free: 9.457 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.3828, allocations: 87.06 kB / 1.351 GB, free: 9.352 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.3828, allocations: 8.422 kB / 1.351 GB, free: 9.344 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.3829, allocations: 23.44 kB / 1.351 GB, free: 9.32 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.3829, allocations: 4 kB / 1.351 GB, free: 9.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.4059, allocations: 1.751 MB / 1.353 GB, free: 7.719 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 3.938 kB / 1.353 GB, free: 7.715 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.852765345945954]